Implement remove method

This commit is contained in:
Gregory John Casamento 2019-09-24 02:58:12 -04:00
parent f2b3b97708
commit b7708606ae

View file

@ -204,8 +204,9 @@
- (BOOL) removeAndReturnError: (NSError **)outError
{
outError = NULL;
return NO;
NSURL *url = [self URL];
NSFileManager *mgr = [NSFileManager defaultManager];
return [mgr removeItemAtPath: [url path] error: outError];
}
- (NSURL *) replaceItemAtURL: (NSURL *)url