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
Josh Soref
e4a87f772f
docs: spelling: e.g.
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-28 18:16:23 +00:00
Chaitanya Bankanhal
61c7ea4085
rc: fix rc/uploadfile only working for root of the fs
2020-08-10 17:09:46 +01:00
Chaitanya Bankanhal
fa43d02874
rc: Add operations/uploadfile to upload a file through rc using encoding multipart/form-data
2020-06-25 11:38:24 +01:00
Chaitanya
d0de39ebcd
rc: add NeedsRequest to call.
2020-06-25 11:38:24 +01:00
Roman Kredentser
55ad1354b6
link: Add --expire and --unlink flags
...
This adds expire and unlink fields to the PublicLink interface.
This fixes up the affected backends and removes unlink parameters
where they are present.
2020-06-05 14:51:05 +01:00
Martin Michlmayr
4aee962233
doc: fix typos throughout docs and code
2020-05-20 15:54:51 +01:00
Nick Craig-Wood
d80fdad6da
rc: implement backend/command for running backend commands remotely
2020-04-29 10:10:57 +01:00
Denis
31a1cc46b7
copyurl: add no-clobber flag - fixes #3950
2020-04-19 12:40:17 +01:00
Denis
b71ac141cc
copyurl: add --auto-filename flag for using file name from url in destination path ( #3451 )
2019-09-03 17:25:19 +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
454dfd3c9e
rc: Add operations/fsinfo: Return information about the remote
...
This returns a information about the remote including Name, Root,
Hashes and optional Features.
2019-06-08 09:19:07 +01:00
Nick Craig-Wood
1aa65d60e1
lsjson: add IsBucket field for bucket based remote listing of the root
2019-06-07 17:28:15 +01:00
Nick Craig-Wood
2b05bd9a08
rc: implement operations/publiclink the equivalent of rclone link
...
Fixes #3042
2019-03-17 09:41:31 +00:00
Nick Craig-Wood
01fcad9b9c
rc: fix docs for sync/{sync,copy,move} and operations/{copy,move}file
2018-11-29 11:11:30 +00:00
Nick Craig-Wood
39283c8a35
operations: implement operations remote control commands
2018-11-05 15:44:40 +00:00