NSURL: add stubs for alias functions

The OSX filesystem implements "aliases", a species of symlink which
tracks its source if it was moved. Create stubs for the NSURL functions
which handle these aliases.
This commit is contained in:
Daniel Ferreira 2017-06-22 06:42:49 +10:00 committed by Ivan Vučica
parent e813dde02c
commit 064df5ba69
2 changed files with 27 additions and 0 deletions

View file

@ -649,6 +649,14 @@ static NSUInteger urlAlign;
relativeToURL: aBaseUrl]);
}
+ (id) URLByResolvingAliasFileAtURL: (NSURL*)url
options: (NSURLBookmarkResolutionOptions)options
error: (NSError**)error
{
// TODO: unimplemented
return nil;
}
- (id) initFileURLWithPath: (NSString*)aPath
{
NSFileManager *mgr = [NSFileManager defaultManager];