aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsT <tst2005@gmail.com>2017-12-14 21:12:18 +0100
committerHisham Muhammad <hisham@gobolinux.org>2017-12-14 18:12:18 -0200
commit37d8524e7e5237d3d67b2db4692b00b0eb95077b (patch)
tree82a72a0c87983858eede7d1612982ade61467b41
parente5f06c270ae0bdd4cf25ac89fda9106fc589a350 (diff)
downloadluafilesystem-37d8524e7e5237d3d67b2db4692b00b0eb95077b.tar.gz
luafilesystem-37d8524e7e5237d3d67b2db4692b00b0eb95077b.tar.bz2
luafilesystem-37d8524e7e5237d3d67b2db4692b00b0eb95077b.zip
lfs.attributes and lfs.symlinkattributes arguments renamed s/aname/request_name/ s/atable/result_table/ (#106)
-rw-r--r--doc/us/manual.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html
index 3555e3d..1feb86a 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -102,15 +102,15 @@ LuaFileSystem offers the following functions:
102</p> 102</p>
103 103
104<dl class="reference"> 104<dl class="reference">
105 <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath [, aname | atable])</code></strong></dt> 105 <dt><a name="attributes"></a><strong><code>lfs.attributes (filepath [, request_name | result_table])</code></strong></dt>
106 <dd>Returns a table with the file attributes corresponding to 106 <dd>Returns a table with the file attributes corresponding to
107 <code>filepath</code> (or <code>nil</code> followed by an error message and a system-dependent error code 107 <code>filepath</code> (or <code>nil</code> followed by an error message and a system-dependent error code
108 in case of error). 108 in case of error).
109 If the second optional argument is given and is a string, then only the value of the 109 If the second optional argument is given and is a string, then only the value of the
110 named attribute is returned (this use is equivalent to 110 named attribute is returned (this use is equivalent to
111 <code>lfs.attributes(filepath)[aname]</code>, but the table is not created 111 <code>lfs.attributes(filepath)[request_name]</code>, but the table is not created
112 and only one attribute is retrieved from the O.S.). 112 and only one attribute is retrieved from the O.S.).
113 if a table is passed as the second argument, it is filled with attributes and returned instead of a new table. 113 if a table is passed as the second argument, it (<code>result_table</code>) is filled with attributes and returned instead of a new table.
114 The attributes are described as follows; 114 The attributes are described as follows;
115 attribute <code>mode</code> is a string, all the others are numbers, 115 attribute <code>mode</code> is a string, all the others are numbers,
116 and the time related attributes use the same time reference of 116 and the time related attributes use the same time reference of
@@ -239,7 +239,7 @@ LuaFileSystem offers the following functions:
239 setting the mode has no effect, and the mode is always returned as <code>binary</code>. 239 setting the mode has no effect, and the mode is always returned as <code>binary</code>.
240 </dd> 240 </dd>
241 241
242 <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, aname])</code></strong></dt> 242 <dt><a name="symlinkattributes"></a><strong><code>lfs.symlinkattributes (filepath [, request_name])</code></strong></dt>
243 <dd>Identical to <a href="#attributes">lfs.attributes</a> except that 243 <dd>Identical to <a href="#attributes">lfs.attributes</a> except that
244 it obtains information about the link itself (not the file it refers to). 244 it obtains information about the link itself (not the file it refers to).
245 It also adds a <strong><code>target</code></strong> field, containing 245 It also adds a <strong><code>target</code></strong> field, containing