[Feature Suggestion] `vfs/fetch` similar to `cache/fetch`

For the cache backend, we support the rc command cache/fetch, to instruct the backend to populate the cache with a specific file or directory, allowing for prefetching. My understanding from the docs is that VFS is supposed to replace cache entirely and I see we have quite a few good vfs/* commands already for rc, but no equivalent to cache/fetch as far as I can tell.

Any reason for this? I might be able to help out with this if other folks would find it useful.

(What I would really love are some flags to indicate that a certain file/directory should always be kept cached locally including updating on any changes... But vfs/cache seems like a great place to start that gets 90% of the way there.)

1 Like