aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomas <tomas>2006-03-03 23:58:05 +0000
committertomas <tomas>2006-03-03 23:58:05 +0000
commit079b4e7f798cf7f11af7c4ed66e1ad212ce2ba63 (patch)
treeac07ded0f4d37e728276364653bc210c3e3b1922
parent6305fb87bd648ef724331318a85d5cd45d8c2770 (diff)
downloadluafilesystem-079b4e7f798cf7f11af7c4ed66e1ad212ce2ba63.tar.gz
luafilesystem-079b4e7f798cf7f11af7c4ed66e1ad212ce2ba63.tar.bz2
luafilesystem-079b4e7f798cf7f11af7c4ed66e1ad212ce2ba63.zip
Improving lfs.attributes' reference
-rw-r--r--doc/us/manual.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html
index 933ab98..d91682f 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -81,8 +81,13 @@ The compiled binary should be copied to a directory in your LUA_CPATH.</p>
81<p>LuaFileSystem offers the following functions:</p> 81<p>LuaFileSystem offers the following functions:</p>
82 82
83<dl class="reference"> 83<dl class="reference">
84 <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath)</code></strong></dt> 84 <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath [, aname])</code></strong></dt>
85 <dd>Returns a table with the file attributes corresponding to <code>filepath</code>. 85 <dd>Returns a table with the file attributes corresponding to
86 <code>filepath</code>.
87 If the second optional argument is given, then only the value of the
88 named attribute is returned (this use is equivalent to
89 <code>lfs.attributes(filepath).aname</code>, but the table is not created
90 and only one attribute is retrieved from the O.S.).
86 The attributes are: 91 The attributes are:
87 <dl> 92 <dl>
88 <dt><strong><code>dev</code></strong></dt> 93 <dt><strong><code>dev</code></strong></dt>
@@ -198,7 +203,7 @@ The compiled binary should be copied to a directory in your LUA_CPATH.</p>
198<div id="about"> 203<div id="about">
199 <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p> 204 <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
200 <p><small> 205 <p><small>
201 $Id: manual.html,v 1.25 2006/02/07 01:42:58 uid20013 Exp $ 206 $Id: manual.html,v 1.26 2006/03/03 23:58:05 tomas Exp $
202 </small></p> 207 </small></p>
203</div> <!-- id="about" --> 208</div> <!-- id="about" -->
204 209