mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Add capability to write to file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7585 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bb4197a1d3
commit
2458682e57
1 changed files with 1 additions and 3 deletions
|
@ -426,9 +426,7 @@ static NSMutableDictionary *fileCache = nil;
|
|||
|
||||
- (BOOL) writeData: (NSData*)data
|
||||
{
|
||||
/* FIXME */
|
||||
[self notImplemented: _cmd];
|
||||
return NO;
|
||||
return [data writeToFile: _path atomically: YES];
|
||||
}
|
||||
|
||||
- (BOOL) writeProperty: (id)propertyValue
|
||||
|
|
Loading…
Reference in a new issue