PageRenderTime 24ms CodeModel.GetById 11ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/core/sdk-objc/Documentation/GMUserFileSystem/Categories/NSObject_GMUserFileSystemOperations_/GMUserFileSystem.html

http://macfuse.googlecode.com/
HTML | 42 lines | 41 code | 1 blank | 0 comment | 0 complexity | 595d9fb7779aed0a74621002bdda3a9f MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
 2<html>
 3<head>
 4<title>API Documentation</title>
 5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 6<meta name="generator" content="HeaderDoc">
 7<style type="text/css"><!--.keyword {background:#ffffff; color:#761550;}.template {background:#ffffff; color:#761550;}.number {background: #ffffff; color:#0000ff;}.function {background:#ffffff; color:#000000;}.string {background: #ffffff; color:#891315;}.preprocessor {background:#ffffff; color:#236e25}.comment {background:#ffffff; color:#236e25}.char {background: #ffffff; color:#0000ff;}.var {background:#ffffff; color:#000000;}.type {background:#ffffff; color:#761550;}.param {background:#ffffff; color:#000000;}a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}--></style>
 8</head>
 9<body bgcolor="#ffffff">
10<a name="top"></a><h1>NSObject(GMUserFileSystemOperations) </h1>
11<hr>
12<p><b>Extends&nbsp;Class:</b> <!-- a logicalPath="//apple_ref/occ/cl/NSObject" -->NSObject<!-- /a --><br><b>Declared In:</b> <a href="../../index.html" target="_top">GMUserFileSystem</a><br></p>
13<dl></dl>
14<p></p>
15<hr>
16<br><p>
17 The core set of file system operations the delegate must implement.
18Unless otherwise noted, they typically should behave like the NSFileManager 
19equivalent. However, the error codes that they return should correspond to
20the BSD-equivalent call and be in the NSPOSIXErrorDomain.<br><br>
21For a read-only filesystem, you can typically pick-and-choose which methods
22to implement.  For example, a minimal read-only filesystem might implement:</p>
23<ul>
24- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path 
25error:(NSError **)error;<br>
26- (NSDictionary *)attributesOfItemAtPath:(NSString *)path
27userData:(id)userData
28error:(NSError **)error;<br>
29- (NSData *)contentsAtPath:(NSString *)path;</ul>
30<p>
31For a writeable filesystem, the Finder can be quite picky unless the majority
32of these methods are implemented. However, you can safely skip hard-links, 
33symbolic links, and extended attributes.
34 
35<br><br></p>
36<p></p>
37<hr>
38<br><center>Last Updated: Monday, November 17, 2008
39<br><font size="-1">HTML documentation generated by <a href="http://www.opensource.apple.com/projects" target="_blank">HeaderDoc</a></font>
40</center>
41</body>
42</html>