rclone/fs/config
Janne Hellsten 5c594fea90 operations: implement uploads to temp name with --inplace to disable
When copying to a backend which has the PartialUploads feature flag
set and can Move files the file is copied into a temporary name first.
Once the copy is complete, the file is renamed to the real
destination.

This prevents other processes from seeing partially downloaded copies
of files being downloaded and prevents overwriting the old file until
the new one is complete.

This also adds --inplace flag that can be used to disable the partial
file copy/rename feature.

See #3770

Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2023-05-09 16:28:10 +01:00
..
configfile config: add more unit tests of save 2023-04-08 21:48:21 +02:00
configflags operations: implement uploads to temp name with --inplace to disable 2023-05-09 16:28:10 +01:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
flags fs: make all duration flags take y, M, w, d etc suffixes 2022-11-14 15:13:49 +00:00
obscure Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go authorize: add support for custom templates 2023-02-24 15:08:38 +00:00
config_read_password_unsupported.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_read_password.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
config.go config: stop config create making invalid config files 2023-05-03 11:40:30 +01:00
crypt_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc_test.go config: add config/setpath for setting config path via rc/librclone 2022-12-15 12:41:30 +00:00
rc.go config: add config/setpath for setting config path via rc/librclone 2022-12-15 12:41:30 +00:00
ui_test.go fspath: allow the symbols at and plus in remote names - fixes #6710 2023-01-25 13:37:24 +01:00
ui.go fs: Fix interaction between --progress and --interactive 2023-03-22 16:18:41 +00:00