1
mirror of https://github.com/rclone/rclone synced 2024-12-25 17:03:45 +01:00
rclone/fstest
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
..
fstests Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
mockdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mockfs test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
mockobject fstest: add ability for mock objects and filesystems to have hashes 2020-06-30 12:01:36 +01:00
test_all lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
testserver ftp: enable CI for ProFtpd, PureFtpd, VsFtpd 2021-10-01 10:09:57 +03:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
run.go lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00