Resolve "Improve FileList no that Files are removed from memory"
FileList was updated to walk the renter's directory and call File on all the siafiles found.
This would allow us to:
- reduce the duplicate code that is in
FileListandFile - remove the use of the
All()method from theSiaFileSet,All()can now be removed during the Repair Loop MR. - return an error from
FileList - address the problem of loading all
siafiles, returning allsiafiles, then closing allsiafilessinceFilewould open and close one at a time.
Closes #3312 (closed)
Edited by Matthew Sevey