diff options
author | tomas <tomas> | 2007-06-07 01:28:08 +0000 |
---|---|---|
committer | tomas <tomas> | 2007-06-07 01:28:08 +0000 |
commit | 57a64a5cfee378f331ae425945a8026bcc668a8b (patch) | |
tree | 77101c424f96ca8bb594c24e303c86136c60fab9 /doc/us/manual.html | |
parent | 47f40e5705c53425ca0d22662f31c6742c2a5569 (diff) | |
download | luafilesystem-57a64a5cfee378f331ae425945a8026bcc668a8b.tar.gz luafilesystem-57a64a5cfee378f331ae425945a8026bcc668a8b.tar.bz2 luafilesystem-57a64a5cfee378f331ae425945a8026bcc668a8b.zip |
Adding function symlinkatributes. Updating version to 1.3.0
Diffstat (limited to 'doc/us/manual.html')
-rw-r--r-- | doc/us/manual.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html index c7b7a5f..04e490a 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html | |||
@@ -153,6 +153,12 @@ LuaFileSystem offers the following functions: | |||
153 | <dt><strong><code>blksize</code></strong></dt> | 153 | <dt><strong><code>blksize</code></strong></dt> |
154 | <dd>optimal file system I/O blocksize; (Unix only)</dd> | 154 | <dd>optimal file system I/O blocksize; (Unix only)</dd> |
155 | </dl> | 155 | </dl> |
156 | This function uses <code>stat</code> internally thus if the given | ||
157 | <code>filepath</code> is a symbolic link, it is followed (if it points to | ||
158 | another link the chain is followed recursively) and the information | ||
159 | is about the file it refers to. | ||
160 | To obtain information about the link itself, see function | ||
161 | <a href="#symlinkattributes">lfs.symlinkattributes</a>. | ||
156 | </dd> | 162 | </dd> |
157 | 163 | ||
158 | <dt><a name="chdir"></a><strong><code>lfs.chdir (path)</code></strong></dt> | 164 | <dt><a name="chdir"></a><strong><code>lfs.chdir (path)</code></strong></dt> |
@@ -197,6 +203,11 @@ LuaFileSystem offers the following functions: | |||
197 | Returns <code>true</code> if the operation was successful; | 203 | Returns <code>true</code> if the operation was successful; |
198 | in case of error, it returns <code>nil</code> plus an error string.</dd> | 204 | in case of error, it returns <code>nil</code> plus an error string.</dd> |
199 | 205 | ||
206 | <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> | ||
207 | <dd>Identical to <a href="#attributes">lfs.attributes</a> except that | ||
208 | it obtains information about the link itself (not the file it refers to). | ||
209 | </dd> | ||
210 | |||
200 | <dt><a name="touch"></a><strong><code>lfs.touch (filepath [, atime [, mtime]])</code></strong></dt> | 211 | <dt><a name="touch"></a><strong><code>lfs.touch (filepath [, atime [, mtime]])</code></strong></dt> |
201 | <dd>Set access and modification times of a file. This function is | 212 | <dd>Set access and modification times of a file. This function is |
202 | a bind to <code>utime</code> function. The first argument is the | 213 | a bind to <code>utime</code> function. The first argument is the |
@@ -228,7 +239,7 @@ LuaFileSystem offers the following functions: | |||
228 | <div id="about"> | 239 | <div id="about"> |
229 | <p><a href="http://validator.w3.org/check?uri=referer"> | 240 | <p><a href="http://validator.w3.org/check?uri=referer"> |
230 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> | 241 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> |
231 | <p><small>$Id: manual.html,v 1.35 2007/05/17 23:08:56 carregal Exp $</small></p> | 242 | <p><small>$Id: manual.html,v 1.36 2007/06/07 01:28:08 tomas Exp $</small></p> |
232 | </div> <!-- id="about" --> | 243 | </div> <!-- id="about" --> |
233 | 244 | ||
234 | </div> <!-- id="container" --> | 245 | </div> <!-- id="container" --> |