1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-14 22:38:07 +11:00
Zorya-NEO/mods/loader_removable_media/init.lua
2020-03-05 16:30:59 -05:00

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