mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 20:33:06 +00:00
Documentation update
This commit is contained in:
@@ -165,14 +165,14 @@ If you are using Lua 5.1, nothing should be done.</p>
|
||||
<dt><a name="touch"></a><strong><code>lfs.touch (filepath [, atime [, mtime]])</code></strong></dt>
|
||||
<dd>Set access and modification times of a file. This function is
|
||||
a bind to <code>utime</code> function. The first argument is the
|
||||
filename, the second argument is the access time,
|
||||
and the third argument is the modification time.
|
||||
filename, the second argument (<code>atime</code>) is the access time,
|
||||
and the third argument (<code>mtime</code>) is the modification time.
|
||||
Both times are provided in seconds (which should be generated with
|
||||
Lua standard function <code>os.date</code>).
|
||||
If the modifition time is omitted, the access time provided is used;
|
||||
if both times are omitted, the current time is used.<br />
|
||||
Returns a boolean indicating whethet the operation succeeds or not
|
||||
(followed by an error string in case it fails).</dd>
|
||||
Returns a boolean indicating whether the operation succeeded or not
|
||||
(followed by an error string when it fails).</dd>
|
||||
|
||||
<dt><a name="unlock"></a><strong><code>lfs.unlock (filehandle[, start[, length]])</code></strong></dt>
|
||||
<dd>Unlocks a file or a part of it. This function works on
|
||||
@@ -192,7 +192,7 @@ If you are using Lua 5.1, nothing should be done.</p>
|
||||
<div id="about">
|
||||
<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>
|
||||
<p><small>
|
||||
$Id: manual.html,v 1.13 2005/05/20 12:10:58 uid20002 Exp $
|
||||
$Id: manual.html,v 1.14 2005/05/20 18:04:56 uid20002 Exp $
|
||||
</small></p>
|
||||
</div> <!-- id="about" -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user