Events shows all + tweaks

This commit is contained in:
kepler155c@gmail.com
2019-11-07 18:00:54 -07:00
parent f2cf20c274
commit e9717c4def
4 changed files with 30 additions and 5 deletions

View File

@@ -10,4 +10,13 @@ function Array.filter(it, f)
return ot
end
function Array.removeByValue(t, e)
for k,v in pairs(t) do
if v == e then
table.remove(t, k)
break
end
end
end
return Array

View File

@@ -48,6 +48,10 @@ function ramfs.getDrive()
return 'ram'
end
function ramfs.getFreeSpace()
return math.huge
end
function ramfs.list(node, dir)
if node.nodes and node.mountPoint == dir then
local files = { }