This commit is contained in:
2026-02-03 20:47:33 -05:00
parent ec5e63898d
commit 1c4f48bd65
7 changed files with 13 additions and 4 deletions

View File

@@ -406,7 +406,11 @@ function vfs.listdir(path)
if disk:type(diskPath) ~= "directory" then error("ENOTDIR") end
local meta = getFileMeta(path)
checkperms(meta, "r")
return disk:list(diskPath)
local list = disk:list(diskPath)
if table.indexOf(list,".meta")~=-1 then
table.remove(list,table.indexOf(list,".meta"))
end
return list
end
function vfs.mkdir(path)