From 079b4e7f798cf7f11af7c4ed66e1ad212ce2ba63 Mon Sep 17 00:00:00 2001 From: tomas Date: Fri, 3 Mar 2006 23:58:05 +0000 Subject: Improving lfs.attributes' reference --- doc/us/manual.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/us/manual.html b/doc/us/manual.html index 933ab98..d91682f 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -81,8 +81,13 @@ The compiled binary should be copied to a directory in your LUA_CPATH.

LuaFileSystem offers the following functions:

-
lfs.attributes (filepath)
-
Returns a table with the file attributes corresponding to filepath. +
lfs.attributes (filepath [, aname])
+
Returns a table with the file attributes corresponding to + filepath. + If the second optional argument is given, then only the value of the + named attribute is returned (this use is equivalent to + lfs.attributes(filepath).aname, but the table is not created + and only one attribute is retrieved from the O.S.). The attributes are:
dev
@@ -198,7 +203,7 @@ The compiled binary should be copied to a directory in your LUA_CPATH.

Valid XHTML 1.0!

- $Id: manual.html,v 1.25 2006/02/07 01:42:58 uid20013 Exp $ + $Id: manual.html,v 1.26 2006/03/03 23:58:05 tomas Exp $

-- cgit v1.2.3-55-g6feb