diff options
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 1896122798..e262caa3c3 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 |