new function rmdir

This commit is contained in:
tuler
2005-06-09 16:19:27 +00:00
parent af9acdaf85
commit 7446e31486
2 changed files with 12 additions and 4 deletions

View File

@@ -61,9 +61,9 @@ the underlying directory structure and file attributes.</p>
<h2><a name="status"></a>Status</h2>
<p>Current version is 1.1. It was developed for Lua 5.0.</p>
<p>Current version is 1.2. It was developed for Lua 5.0.</p>
<p>Version 1.1 follows the
<p>Version 1.2 follows the
<a href="http://www.keplerproject.org/compat">package model</a>
for Lua 5.1 (see section <a href="manual.html#installation">Installation</a>
for more details).</p>
@@ -82,6 +82,9 @@ LuaForge page.</p>
<h2><a name="history"></a>History</h2>
<ul>
<li>[xx/xx/2005] Version 1.2 released<br/>
added function <code>lfs.rmdir</code>.
</li>
<li>[30/May/2005] Version 1.1 released<br/>
added function <code>lfs.touch</code>.
</li>
@@ -111,7 +114,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.24 2005/06/02 21:14:53 tuler Exp $
$Id: index.html,v 1.25 2005/06/09 16:21:54 tuler Exp $
</small></p>
</div> <!-- id="about" -->

View File

@@ -162,6 +162,11 @@ binary properly.</p>
Returns a boolean indicating whether the operation succeeds or not
(in this case, an error string is returned too).</dd>
<dt><a name="rmdir"></a><strong><code>lfs.rmdir (dirname)</code></strong></dt>
<dd>Removes an existing directory. The argument is the name of the directory.<br />
Returns a boolean indicating whether the operation succeeds or not
(in this case, an error string is returned too).</dd>
<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
@@ -192,7 +197,7 @@ binary properly.</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.23 2005/06/08 14:25:09 carregal Exp $
$Id: manual.html,v 1.24 2005/06/09 16:19:27 tuler Exp $
</small></p>
</div> <!-- id="about" -->