From 8addf14a396466982f62503a6dfa5793a53b1b8e Mon Sep 17 00:00:00 2001
From: tomas
+
+
+
+
+
+LuaFileSystem is a library developed to complement the set of functions
+related to file systems offered by the standard Lua distribution.
+One of its goals is to be as portable as Lua.
+
+LuaFileSystem is free software and uses the same
+license
+as Lua 5.0.
+
+
+
+
+Current version is 1.0 alpha.
+It was developed for Lua 5.0.
+
+LuaFileSystem can be downloaded in source code from the following links:
+
+
+
+LuaFileSystem was designed by Roberto Ierusalimschy,
+André Carregal and Tomás Guisasola as part of
+The Kepler Project
+which holds its copyright.
+
+For more information please
+contact us.
+Comments are welcome!
+
+
+
+The spirit of the license is that
+you are free to use LuaFileSystem for any purpose at no cost without having to ask us.
+The only requirement is that
+if you do use LuaFileSystem,
+then you should give us credit by including the appropriate copyright notice
+somewhere in your product or its documentation.
+
+
+The LuaFileSystem library is designed and implemented
+by
+Roberto Ierusalimschy,
+André Carregal and
+Tomás Guisasola.
+The implementation is not derived from licensed software.
+
+
+
+
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+
+
+
+
+
+
+LuaFileSystem is a Lua library
+developed to complement the set of functions related to file systems offered
+by the standard Lua distribution.
+
+LuaFileSystem is free software and uses the same
+license
+as Lua 5.0.
+
+LuaFileSystem offers the following functions:
+
+
+
+
+
+
LuaFileSystem
+ File system library for the
+Lua
+programming language
+
+Contents
+
+
+
+
+Overview
+Current version
+Download
+What's new
+
+
+
+
+
+Credits
+
+Contact us
+
+
+
+$Id: index.html,v 1.1 2004/07/27 14:15:24 tomas Exp $
+
+
+
+
+
diff --git a/doc/us/license.html b/doc/us/license.html
new file mode 100644
index 0000000..f01eb86
--- /dev/null
+++ b/doc/us/license.html
@@ -0,0 +1,78 @@
+
+
+
+
+
+License
+
+
+LuaFileSystem
+is free software:
+it can be used for both academic and commercial purposes at absolutely no cost.
+There are no royalties or GNU-like "copyleft" restrictions.
+LuaFileSystem qualifies as
+Open Source
+software.
+Its licenses are compatible with
+GPL.
+LuaFileSystem is not in the public domain and
+The Kepler Project
+keep its copyright.
+The legal details are below.
+
+Copyright © 2004 The Kepler Project.
+
+
+$Id: license.html,v 1.1 2004/07/27 14:15:24 tomas Exp $
+
+
+
+
diff --git a/doc/us/manual.html b/doc/us/manual.html
new file mode 100644
index 0000000..374d033
--- /dev/null
+++ b/doc/us/manual.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
LuaFileSystem Reference Manual
+ File system library for the
+Lua
+programming language
+
+
+
+Introduction
+
+Reference
+
+
+
+
+
+
+
+
+ Changes the current
+ working directory to the given path.
+
+
+
+ Returns the current
+ working directory or nil
plus an error string.
+
+
+
+ Lua iterator over the entries
+ of a given directory.
+
+
+
+ Locks a file or a part of it.
+ This function works on open files;
+ the file handle should be specified as the first argument.
+ The string mode
could be either r
(for a
+ read/shared lock) or w
(for a write/exclusive lock).
+ The optional arguments start
and length
can be
+ used to specify a starting point and its length;
+ both should be numbers.
+ This function returns a boolean indicating if the operation was successful;
+ in case of error, it returns false
plus a string describing the
+ error.
+
+
+
+ Creates a new directory.
+ The argument is the name of the new directory.
+
+
+
+ Unlocks a file or a part of it.
+ This function works on open files;
+ the file handle should be specified as the first argument.
+ The optional arguments start
and length
can be
+ used to specify a starting point and its length;
+ both should be numbers.
+ This function returns a boolean indicating if the operation was successful;
+ in case of error, it returns false
plus a string describing the
+ error.
+
+Example
+
+
+
+Contents
+
+
+
+
+ +