mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-25 13:13:07 +00:00
Adding version information
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
#!/usr/local/bin/lua50
|
#!/usr/local/bin/lua5.1
|
||||||
|
|
||||||
local tmp = "/tmp"
|
local tmp = "/tmp"
|
||||||
local sep = "/"
|
local sep = "/"
|
||||||
local upper = ".."
|
local upper = ".."
|
||||||
|
|
||||||
require"lfs"
|
require"lfs"
|
||||||
|
print (lfs._VERSION)
|
||||||
|
|
||||||
function attrdir (path)
|
function attrdir (path)
|
||||||
for file in lfs.dir(path) do
|
for file in lfs.dir(path) do
|
||||||
|
|||||||
Reference in New Issue
Block a user