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-03-06 08:30:59 +11:00
|
|
|
|
2020-01-15 12:07:27 +11:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|