Nick Craig-Wood
6b670bd439
mockfs: make it so it can be registered as an Fs
2023-04-28 14:31:05 +01:00
Nick Craig-Wood
58d82a5c73
rc: allow fs= params to be a JSON blob
2021-03-30 17:07:27 +01:00
Nick Craig-Wood
657be2ace5
rc: add fscache/clear and fscache/entries to control the fs cache #4811
2021-03-15 19:22:07 +00:00
Nick Craig-Wood
d69b96a94c
test: Add context to mockfs.NewFs #3257 #4685
2020-11-09 18:05:54 +00:00
Nick Craig-Wood
d846210978
fs: Add context to NewFs #3257 #4685
...
This adds a context.Context parameter to NewFs and related calls.
This is necessary as part of reading config from the context -
backends need to be able to read the global config.
2020-11-09 18:05:54 +00:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Nick Craig-Wood
206e1caa99
fs/cache: factor Fs caching from fs/rc into its own package
2019-05-27 16:14:55 +01:00
Nick Craig-Wood
97752ca8fb
build: fix problems found with ineffasign linter
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
8c8b58a7de
rc: expire remote cache and fix tests under race detector
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
2089405e1b
fs/rc: add more infrastructure to help writing rc functions
...
- Fs cache for rc commands
- Helper functions for parsing the input
- Reshape command for manipulating JSON blobs
- Background Job starting, control, query and expiry
2018-11-02 17:32:20 +00:00