From 57a64a5cfee378f331ae425945a8026bcc668a8b Mon Sep 17 00:00:00 2001
From: tomas
Date: Thu, 7 Jun 2007 01:28:08 +0000
Subject: Adding function symlinkatributes. Updating version to 1.3.0
---
doc/us/index.html | 12 ++++++++++--
doc/us/manual.html | 13 ++++++++++++-
2 files changed, 22 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/us/index.html b/doc/us/index.html
index c48b19a..f0d78f5 100644
--- a/doc/us/index.html
+++ b/doc/us/index.html
@@ -71,7 +71,7 @@ the underlying directory structure and file attributes.
Status
-Current version is 1.2.1. It was developed for Lua 5.1.
+Current version is 1.3.0. It was developed for Lua 5.1.
Download
@@ -84,6 +84,14 @@ version of LuaFileSystem can be found at the same LuaForge page.
History
+ - Version 1.3.0 [?/Jun/2007]
+ -
+
+
+
- Version 1.2.1 [08/May/2007]
-
@@ -139,7 +147,7 @@ Comments are welcome!

-
$Id: index.html,v 1.35 2007/05/08 19:23:12 carregal Exp $
+
$Id: index.html,v 1.36 2007/06/07 01:28:08 tomas Exp $
diff --git a/doc/us/manual.html b/doc/us/manual.html
index c7b7a5f..04e490a 100644
--- a/doc/us/manual.html
+++ b/doc/us/manual.html
@@ -153,6 +153,12 @@ LuaFileSystem offers the following functions:
blksize
- optimal file system I/O blocksize; (Unix only)
+ This function uses stat internally thus if the given
+ filepath is a symbolic link, it is followed (if it points to
+ another link the chain is followed recursively) and the information
+ is about the file it refers to.
+ To obtain information about the link itself, see function
+ lfs.symlinkattributes.
lfs.chdir (path)
@@ -197,6 +203,11 @@ LuaFileSystem offers the following functions:
Returns true if the operation was successful;
in case of error, it returns nil plus an error string.
+ lfs.symlinkattributes (filepath [, aname])
+ Identical to lfs.attributes except that
+ it obtains information about the link itself (not the file it refers to).
+
+
lfs.touch (filepath [, atime [, mtime]])
Set access and modification times of a file. This function is
a bind to utime function. The first argument is the
@@ -228,7 +239,7 @@ LuaFileSystem offers the following functions:

-
$Id: manual.html,v 1.35 2007/05/17 23:08:56 carregal Exp $
+
$Id: manual.html,v 1.36 2007/06/07 01:28:08 tomas Exp $
--
cgit v1.2.3-55-g6feb