rclone/fs/config
albertony fbc7f2e61b lib/file: improve error message when attempting to create dir on nonexistent drive on windows
This replaces built-in os.MkdirAll with a patched version that stops the recursion
when reaching the volume part of the path. The original version would continue recursion,
and for extended length paths end up with \\? as the top-level directory, and the error
message would then be something like:
mkdir \\?: The filename, directory name, or volume label syntax is incorrect.
2021-10-01 23:18:39 +02:00
..
configfile lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
configflags Change byte unit format from MiByte to MiB 2021-08-31 09:57:27 +02:00
configmap configmap: Add Encode and Decode methods to Simple for command line encoding #5178 2021-04-08 12:34:15 +01:00
configstruct build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
flags config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
obscure config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go fs: change Config callback into state based callback #3455 2021-05-14 14:07:44 +01:00
config.go lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
config_read_password.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
config_read_password_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go config: remove log.Fatal and replace with error passing where possible 2021-03-14 16:03:35 +00: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
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc.go config create: add --state and --result parameters #3455 2021-05-14 14:07:44 +01:00
rc_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
ui.go config: tidy code to use UpdateRemote/CreateRemote instead of editOptions #3455 2021-05-14 14:07:44 +01:00
ui_test.go fs: add --all to rclone config create/update to ask all the config questions #3455 2021-05-14 14:07:44 +01:00