1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-27 12:48:07 +11:00
Zorya-NEO/mods/loader_removable_media/init.lua

10 lines
221 B
Lua
Raw Normal View History

2020-01-15 12:07:27 +11:00
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
2020-01-15 12:07:27 +11:00
end
end
end
end