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
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
Martin Michlmayr
4aee962233
doc: fix typos throughout docs and code
2020-05-20 15:54:51 +01: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
75e8ea383c
rc: implement rc.PutCachedFs for prefilling the remote cache
2018-11-04 20:42:57 +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
0bfa9811f7
rc: factor server code into rcserver and implement serving objects
...
If a GET or HEAD request is receivied with a URL parameter of fs then
it will be served from that remote.
2018-11-03 11:32:00 +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