mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-23 19:43:06 +00:00
Documentation update
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div id="product_logo"><a href="http://www.keplerproject.org">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a></div>
|
||||
<div id="product_name"><big><b>LuaFileSystem</b></big></div>
|
||||
<div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
|
||||
<div id="product_description">File System Library for the Lua Programming Language</div>
|
||||
</div> <!-- id="product" -->
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<h3>Directory iterator</h3>
|
||||
|
||||
<p>The following example iterates over a directory and recursively lists the
|
||||
attributes for each file or directory inside it.</p>
|
||||
attributes for each file inside it.</p>
|
||||
|
||||
<pre class="example">
|
||||
require"lfs"
|
||||
@@ -86,7 +86,7 @@ attrdir (".")
|
||||
<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: examples.html,v 1.2 2005/05/19 20:24:31 uid20002 Exp $
|
||||
$Id: examples.html,v 1.3 2005/05/20 18:04:56 uid20002 Exp $
|
||||
</small></p>
|
||||
</div> <!-- id="about" -->
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div id="product_logo"><a href="http://www.keplerproject.org">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a></div>
|
||||
<div id="product_name"><big><b>LuaFileSystem</b></big></div>
|
||||
<div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
|
||||
<div id="product_description">File System Library for the Lua Programming Language</div>
|
||||
</div> <!-- id="product" -->
|
||||
|
||||
@@ -107,7 +107,7 @@ Comments are welcome!</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: index.html,v 1.14 2005/05/20 12:30:13 uid20002 Exp $
|
||||
$Id: index.html,v 1.15 2005/05/20 18:04:56 uid20002 Exp $
|
||||
</small></p>
|
||||
</div> <!-- id="about" -->
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div id="product_logo"><a href="http://www.keplerproject.org">
|
||||
<img alt="LuaFileSystem" src="luafilesystem.png"/>
|
||||
</a></div>
|
||||
<div id="product_name"><big><b>LuaFileSystem</b></big></div>
|
||||
<div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
|
||||
<div id="product_description">File System Library for the Lua Programming Language</div>
|
||||
</div> <!-- id="product" -->
|
||||
|
||||
@@ -104,7 +104,7 @@ SOFTWARE.</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: license.html,v 1.5 2005/05/04 02:28:51 tuler Exp $
|
||||
$Id: license.html,v 1.6 2005/05/20 18:04:56 uid20002 Exp $
|
||||
</small></p>
|
||||
</div><!-- id="about" -->
|
||||
|
||||
|
||||
@@ -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