mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-12-24 01:48: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 |