aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2017-09-14 12:15:58 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2017-09-14 12:15:58 +0300
commitd399961536eee59f891a395271bf12d6a0c70c64 (patch)
tree8f3094937cb09b9e46e00248ccf606922fb69fac /doc
parent8a7796ec170923267a823566424f818037bca82c (diff)
parenta332bde584756b14298f51e913bdc309f87e7ff8 (diff)
downloadluafilesystem-d399961536eee59f891a395271bf12d6a0c70c64.tar.gz
luafilesystem-d399961536eee59f891a395271bf12d6a0c70c64.tar.bz2
luafilesystem-d399961536eee59f891a395271bf12d6a0c70c64.zip
Merge branch '1.7'
Diffstat (limited to 'doc')
-rw-r--r--doc/us/manual.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/us/manual.html b/doc/us/manual.html
index 0ecb625..3555e3d 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -104,7 +104,7 @@ LuaFileSystem offers the following functions:
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 [, aname | atable])</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 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
@@ -222,14 +222,14 @@ LuaFileSystem offers the following functions:
222 <dt><a name="mkdir"></a><strong><code>lfs.mkdir (dirname)</code></strong></dt> 222 <dt><a name="mkdir"></a><strong><code>lfs.mkdir (dirname)</code></strong></dt>
223 <dd>Creates a new directory. The argument is the name of the new 223 <dd>Creates a new directory. The argument is the name of the new
224 directory.<br /> 224 directory.<br />
225 Returns <code>true</code> if the operation was successful; 225 Returns <code>true</code> in case of success or <code>nil</code>, an error message and
226 in case of error, it returns <code>nil</code> plus an error string. 226 a system-dependent error code in case of error.
227 </dd> 227 </dd>
228 228
229 <dt><a name="rmdir"></a><strong><code>lfs.rmdir (dirname)</code></strong></dt> 229 <dt><a name="rmdir"></a><strong><code>lfs.rmdir (dirname)</code></strong></dt>
230 <dd>Removes an existing directory. The argument is the name of the directory.<br /> 230 <dd>Removes an existing directory. The argument is the name of the directory.<br />
231 Returns <code>true</code> if the operation was successful; 231 Returns <code>true</code> in case of success or <code>nil</code>, an error message and
232 in case of error, it returns <code>nil</code> plus an error string.</dd> 232 a system-dependent error code in case of error.
233 233
234 <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt> 234 <dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt>
235 <dd>Sets the writing mode for a file. The mode string can be either <code>"binary"</code> or <code>"text"</code>. 235 <dd>Sets the writing mode for a file. The mode string can be either <code>"binary"</code> or <code>"text"</code>.
@@ -257,8 +257,8 @@ LuaFileSystem offers the following functions:
257 Lua standard function <code>os.time</code>). 257 Lua standard function <code>os.time</code>).
258 If the modification time is omitted, the access time provided is used; 258 If the modification time is omitted, the access time provided is used;
259 if both times are omitted, the current time is used.<br /> 259 if both times are omitted, the current time is used.<br />
260 Returns <code>true</code> if the operation was successful; 260 Returns <code>true</code> in case of success or <code>nil</code>, an error message and
261 in case of error, it returns <code>nil</code> plus an error string. 261 a system-dependent error code in case of error.
262 </dd> 262 </dd>
263 263
264 <dt><a name="unlock"></a><strong><code>lfs.unlock (filehandle[, start[, length]])</code></strong></dt> 264 <dt><a name="unlock"></a><strong><code>lfs.unlock (filehandle[, start[, length]])</code></strong></dt>