diff options
author | Steven Barth <steven@midlink.org> | 2008-03-29 21:17:54 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-29 21:17:54 +0000 |
commit | eee28047913d9bc159ebc49e72807db413ec73c7 (patch) | |
tree | d8c602e801a1b2bc942092c907a1661fedb8f6a5 /src/ffluci/fs.lua | |
parent | 1c6c6d62ca665f9d1126b6bad849f7fd584b6a80 (diff) |
* Added simple text editor
Diffstat (limited to 'src/ffluci/fs.lua')
-rw-r--r-- | src/ffluci/fs.lua | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ffluci/fs.lua b/src/ffluci/fs.lua index 189612279..e262caa3c 100644 --- a/src/ffluci/fs.lua +++ b/src/ffluci/fs.lua @@ -84,14 +84,10 @@ function mtime(path) end -- basename wrapper -function basename(path) - return posix.basename(path) -end +basename = posix.basename -- dirname wrapper -function dirname(path) - return posix.dirname(path) -end +dirname = posix.dirname -- Diriterator - alias for lfs.dir - filter . and .. function dir(path) @@ -102,6 +98,4 @@ function dir(path) end -- Alias for lfs.mkdir -function mkdir(...) - return posix.mkdir(...) -end
\ No newline at end of file +mkdir = posix.mkdir
\ No newline at end of file |