mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
e813dde02c
commit
064df5ba69
2 changed files with 27 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue