1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-27 04:38:06 +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