Add a few OSX compatibility methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33929 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-10-02 11:17:49 +00:00
parent a8bcdd81c1
commit 6efa3c983e
8 changed files with 111 additions and 27 deletions

View file

@ -691,6 +691,11 @@ static NSStringEncoding defaultEncoding;
}
}
- (NSArray*) contentsOfDirectoryAtPath: (NSString*)path error: (NSError**)error
{
return [self directoryContentsAtPath: path];
}
/**
* Creates a new directory and all intermediate directories
* if flag is YES, creates only the last directory in the path