mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-23 18:58:06 +11:00
10 lines
221 B
Lua
10 lines
221 B
Lua
return function(filter)
|
|
filter = filter or function() return true end
|
|
return function()
|
|
for f in component.list("filesystem") do
|
|
if (filter(f) and component.invoke(f, "spaceTotal") ) then
|
|
|
|
end
|
|
end
|
|
end
|
|
end |