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 | |
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')
-rw-r--r-- | doc/us/index.html | 12 | ||||
-rw-r--r-- | doc/us/manual.html | 13 |
2 files changed, 22 insertions, 3 deletions
diff --git a/doc/us/index.html b/doc/us/index.html index c48b19a..f0d78f5 100644 --- a/doc/us/index.html +++ b/doc/us/index.html | |||
@@ -71,7 +71,7 @@ the underlying directory structure and file attributes.</p> | |||
71 | 71 | ||
72 | <h2><a name="status"></a>Status</h2> | 72 | <h2><a name="status"></a>Status</h2> |
73 | 73 | ||
74 | <p>Current version is 1.2.1. It was developed for Lua 5.1.</p> | 74 | <p>Current version is 1.3.0. It was developed for Lua 5.1.</p> |
75 | 75 | ||
76 | <h2><a name="download"></a>Download</h2> | 76 | <h2><a name="download"></a>Download</h2> |
77 | 77 | ||
@@ -84,6 +84,14 @@ version of LuaFileSystem can be found at the same LuaForge page.</p> | |||
84 | <h2><a name="history"></a>History</h2> | 84 | <h2><a name="history"></a>History</h2> |
85 | 85 | ||
86 | <dl class="history"> | 86 | <dl class="history"> |
87 | <dt><strong>Version 1.3.0</strong> [?/Jun/2007]</dt> | ||
88 | <dd> | ||
89 | <ul> | ||
90 | <li>added function | ||
91 | <a href="manual.html#symlinkattributes"><code>lfs.symlinkattributes</code></a></li> | ||
92 | </ul> | ||
93 | </dd> | ||
94 | |||
87 | <dt><strong>Version 1.2.1</strong> [08/May/2007]</dt> | 95 | <dt><strong>Version 1.2.1</strong> [08/May/2007]</dt> |
88 | <dd> | 96 | <dd> |
89 | <ul> | 97 | <ul> |
@@ -139,7 +147,7 @@ Comments are welcome!</p> | |||
139 | <div id="about"> | 147 | <div id="about"> |
140 | <p><a href="http://validator.w3.org/check?uri=referer"> | 148 | <p><a href="http://validator.w3.org/check?uri=referer"> |
141 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> | 149 | <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> |
142 | <p><small>$Id: index.html,v 1.35 2007/05/08 19:23:12 carregal Exp $</small></p> | 150 | <p><small>$Id: index.html,v 1.36 2007/06/07 01:28:08 tomas Exp $</small></p> |
143 | </div> <!-- id="about" --> | 151 | </div> <!-- id="about" --> |
144 | 152 | ||
145 | </div> <!-- id="container" --> | 153 | </div> <!-- id="container" --> |
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" --> |