From b66ab2cae9f03c7b3ff75c97a4a5fc59df442fc0 Mon Sep 17 00:00:00 2001
From: carregal
Current version is 1.3.0. It was developed for Lua 5.1.
+Current version is 1.4.0. It was developed for Lua 5.1.
LuaFileSystem source can be downloaded from its Lua Forge page. If you are using -LuaBinaries 5.1.2 a Windows binary -version of LuaFileSystem can be found at the same LuaForge page.
+LuaBinaries 5.1.3 a Windows binary +version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found at the same LuaForge page.lfs.attributes
+ raises an error if attribute does not existlfs.setmode
+ (works only in non Windows systems).lfs.attributes
lfs.rmdir
lfs.dir
lfs.dir
lfs.touch
.lfs.touch
.$Id: index.html,v 1.38 2007/12/14 15:28:04 carregal Exp $
+$Id: index.html,v 1.39 2008/02/11 22:42:21 carregal Exp $
Copyright © 2004-2007 Kepler Project.
+Copyright © 2003 Kepler Project.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation @@ -113,7 +113,7 @@ SOFTWARE.
$Id: license.html,v 1.12 2007/12/14 15:28:04 carregal Exp $
+$Id: license.html,v 1.13 2008/02/11 22:42:21 carregal Exp $
LuaFileSystem offers a Makefile and a separate configuration file,
config
,
-which should be edited to suit your installation before runnig
+which should be edited to suit your installation before running
make
.
The file has some definitions like paths to the external libraries,
compiler options and the like.
@@ -82,12 +82,14 @@ compiler options and the like.
The LuaFileSystem compiled binary should be copied to a directory in your -C path.
+The easiest way to install LuaFileSystem is to use LuaRocks:
+ ++luarocks install lfs +-
Windows users can use the binary version of LuaFileSystem
-(lfs.dll
) available at
-LuaForge.
If you prefer to install LuaFileSystem manually, the compiled binary should be copied to a directory in your +C path.
true
if the operation was successful;
in case of error, it returns nil
plus an error string.lfs.setmode (filepath, mode)
binary
or text
.
+ Returns the previous mode string for the file. This function is only available in Windows, so you may want to make sure that
+ lfs.setmode
exists before using it.
+ lfs.symlinkattributes (filepath [, aname])
$Id: manual.html,v 1.38 2007/12/14 15:28:04 carregal Exp $
+$Id: manual.html,v 1.39 2008/02/11 22:42:21 carregal Exp $