diff options
Diffstat (limited to 'WebKit/mac/Misc/WebNSFileManagerExtras.m')
-rw-r--r-- | WebKit/mac/Misc/WebNSFileManagerExtras.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/WebKit/mac/Misc/WebNSFileManagerExtras.m b/WebKit/mac/Misc/WebNSFileManagerExtras.m index f32b4c0..5733598 100644 --- a/WebKit/mac/Misc/WebNSFileManagerExtras.m +++ b/WebKit/mac/Misc/WebNSFileManagerExtras.m @@ -246,6 +246,14 @@ static void *setMetaData(void* context) return [self directoryContentsAtPath:path]; } +- (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)path error:(NSError **)error +{ + // We don't report errors via the NSError* output parameter, so ensure that the caller does not expect us to do so. + ASSERT_ARG(error, !error); + + return [self pathContentOfSymbolicLinkAtPath:path]; +} + - (NSDictionary *)attributesOfFileSystemForPath:(NSString *)path error:(NSError **)error { // We don't report errors via the NSError* output parameter, so ensure that the caller does not expect us to do so. @@ -254,6 +262,14 @@ static void *setMetaData(void* context) return [self fileSystemAttributesAtPath:path]; } +- (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error +{ + // We don't report errors via the NSError* output parameter, so ensure that the caller does not expect us to do so. + ASSERT_ARG(error, !error); + + return [self fileAttributesAtPath:path traverseLink:NO]; +} + - (BOOL)moveItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error { // The implementation of moveItemAtPath:toPath:error: interacts with the NSFileManager's delegate. |