diff options
author | uid20002 <uid20002> | 2005-05-19 20:24:31 +0000 |
---|---|---|
committer | uid20002 <uid20002> | 2005-05-19 20:24:31 +0000 |
commit | 8774e2caae458a39fdc1e9a72fdae6fa05ae1104 (patch) | |
tree | 90cb3bd33b5c58864db3a6f51a9fa2ca61280d4a /doc/us/examples.html | |
parent | e8e69b98f568081e04cacc3575d66f7f38df753f (diff) | |
download | luafilesystem-8774e2caae458a39fdc1e9a72fdae6fa05ae1104.tar.gz luafilesystem-8774e2caae458a39fdc1e9a72fdae6fa05ae1104.tar.bz2 luafilesystem-8774e2caae458a39fdc1e9a72fdae6fa05ae1104.zip |
Documentation update
Diffstat (limited to 'doc/us/examples.html')
-rw-r--r-- | doc/us/examples.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/us/examples.html b/doc/us/examples.html index 63a3f93..57eefbe 100644 --- a/doc/us/examples.html +++ b/doc/us/examples.html | |||
@@ -48,7 +48,12 @@ | |||
48 | 48 | ||
49 | <div id="content"> | 49 | <div id="content"> |
50 | 50 | ||
51 | <h2><a name="example"></a>Example</h2> | 51 | <h2><a name="example"></a>Examples</h2> |
52 | |||
53 | <h3>Directory iterator</h3> | ||
54 | |||
55 | <p>The following example iterates over a directory and recursively lists the | ||
56 | attributes for each file or directory inside it.</p> | ||
52 | 57 | ||
53 | <pre class="example"> | 58 | <pre class="example"> |
54 | require"lfs" | 59 | require"lfs" |
@@ -81,7 +86,7 @@ attrdir (".") | |||
81 | <div id="about"> | 86 | <div id="about"> |
82 | <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> | 87 | <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> |
83 | <p><small> | 88 | <p><small> |
84 | $Id: examples.html,v 1.1 2005/05/04 02:28:51 tuler Exp $ | 89 | $Id: examples.html,v 1.2 2005/05/19 20:24:31 uid20002 Exp $ |
85 | </small></p> | 90 | </small></p> |
86 | </div> <!-- id="about" --> | 91 | </div> <!-- id="about" --> |
87 | 92 | ||