In API, change ondisk to recentlyondisk
In the api, I believe that we should change the ondisk
field returned with the fileinfo to recentlyondisk
, because currently when listing the files out to the user we need to os.Stat
every single file's local location, which I believe has a big performance impact.
I don't have benchmarks for how much time this check is adding yet, will follow-up with those.
If we are going to make this change, we need this change to be in v1.4.0 because it's a breaking change to the api.