initWithDelegate:isThreadSafe: |
Initialize the user space file system.
- (id)initWithDelegate:(id)delegate isThreadSafe:(BOOL)isThreadSafe;
delegate
isThreadSafe
A GMUserFileSystem instance.
The file system delegate should implement some or all of the GMUserFileSystemOperations informal protocol. You should only specify YES for isThreadSafe if your file system delegate is thread safe with respect to file system operations. That implies that it implements proper file system locking so that multiple operations on the same file can be done safely.
setDelegate: |
Set the file system delegate.
- (void)setDelegate:(id)delegate;
delegate
delegate |
Get the file system delegate.
- (id)delegate;
The file system delegate.
mountAtPath:withOptions: |
Mount the file system at the given path.
- (void)mountAtPath:(NSString *)mountPath withOptions:(NSArray *)options;
mountPath
options
Mounts the file system at mountPath with the given set of options. The set of available options can be found on the options wiki page. For example, to turn on debug output add @"debug" to the options NSArray. If the mount succeeds, then a kGMUserFileSystemDidMount notification is posted to the default noification center. If the mount fails, then a kGMUserFileSystemMountFailed notification will be posted instead.
mountAtPath:withOptions:shouldForeground:detachNewThread: |
Mount the file system at the given path with advanced options.
- (void)mountAtPath:(NSString *)mountPath withOptions:(NSArray *)options shouldForeground:(BOOL)shouldForeground // Recommend: YES detachNewThread:(BOOL)detachNewThread;
mountPath
options
shouldForeground
detachNewThread
Mounts the file system at mountPath with the given set of options. This is an advanced version of mountAtPath:withOptions You can use this to mount from a command-line program as follows:
unmount |
Unmount the file system.
- (void)unmount;
Unmounts the file system. The kGMUserFileSystemDidUnmount notification will be posted.
Last Updated: Monday, November 17, 2008