We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e524ca0 commit dcd0c46Copy full SHA for dcd0c46
Tests/Tests/SDWebImageTestCache.m
@@ -91,7 +91,7 @@ - (void)removeDataForKey:(nonnull NSString *)key {
91
- (void)removeExpiredData {
92
NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.config.maxDiskAge];
93
NSURL *diskCacheURL = [NSURL fileURLWithPath:self.cachePath isDirectory:YES];
94
- NSArray<NSString *> *resourceKeys = @[NSURLIsDirectoryKey, NSURLAttributeContentAccessDateKey];
+ NSArray<NSString *> *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentAccessDateKey];
95
NSDirectoryEnumerator<NSURL *> *fileEnumerator = [self.fileManager enumeratorAtURL:diskCacheURL
96
includingPropertiesForKeys:resourceKeys
97
options:NSDirectoryEnumerationSkipsHiddenFiles
0 commit comments