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

10 lines
217 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
end
end
end
end