Nick Craig-Wood
6b670bd439
mockfs: make it so it can be registered as an Fs
2023-04-28 14:31:05 +01:00
albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
Nick Craig-Wood
d69b96a94c
test: Add context to mockfs.NewFs #3257 #4685
2020-11-09 18:05:54 +00:00
Nick Craig-Wood
25662b9e05
fstest: add ability for mock objects and filesystems to have hashes
2020-06-30 12:01:36 +01:00
Nick Craig-Wood
ea9b6087cf
fstest/mockfs: allow fs.Objects to be added to the root
2019-09-14 13:05:36 +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
Aleksandar Jankovic
f78cd1e043
Add context propagation to rclone
...
- Change rclone/fs interfaces to accept context.Context
- Update interface implementations to use context.Context
- Change top level usage to propagate context to lover level functions
Context propagation is needed for stopping transfers and passing other
request-scoped values.
2019-06-19 11:59:46 +01:00
Nick Craig-Wood
a379eec9d9
fstest/mockfs: create mock fs.Fs for testing
2018-11-02 17:32:20 +00:00