albertony
ec117593f1
Fix lint issues reported by staticcheck
...
Used staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-13 21:13:50 +02:00
albertony
86bd5f6922
size: warn about inaccurate results when objects with unknown size
2022-04-26 19:37:15 +02:00
Nick Craig-Wood
240561850b
test makefiles: add --chargen flag to make ascii chargen files
2022-04-13 23:07:56 +01:00
Nick Craig-Wood
f583b86334
test makefiles: fix crash if --min-file-size <= --max-file-size
2022-04-12 13:45:20 +01:00
Nick Craig-Wood
118e8e1470
test makefiles: add --sparse, --zero, --pattern and --ascii flags
2022-04-12 13:45:20 +01:00
Nick Craig-Wood
afcea9c72b
test makefile: implement new test command to write a single file
2022-04-12 12:57:16 +01:00
Nil Alexandrov
65652f7a75
Add Akamai Netstorage as a new backend.
2022-03-09 12:42:22 +00:00
Nick Craig-Wood
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
albertony
e2f47ecdeb
docs: punctuation cleanup
...
See #5538
2021-10-20 22:56:19 +02:00
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
albertony
8500d95579
test: consider global option for printing human-readable sizes and avoid unsigned integer overflow
2021-08-31 09:57:27 +02:00
Nick Craig-Wood
c67c1ab4ee
test makefiles: fix documentation so it doesn't have HTML in
2021-07-20 19:37:09 +01:00
Nick Craig-Wood
4a9469a3dc
test changenotify: add command to help debugging changenotify
2021-04-21 10:52:05 +01:00
Nick Craig-Wood
a46a3c0811
test makefiles: add log levels and speed summary
2021-04-12 18:14:01 +01:00
Nick Craig-Wood
60dcafe04d
test makefiles: add --seed flag and make data generated repeatable #5214
2021-04-12 18:14:01 +01:00
Nick Craig-Wood
5b84adf3b9
test: add "rclone test histogram" for file name distribution stats
2021-02-13 14:24:43 +00:00
Nick Craig-Wood
f890965020
test: add makefiles test command (converted from script)
2021-02-13 14:24:43 +00:00
Nick Craig-Wood
f88a5542cf
test: move test commands under "rclone test" and make them visible
2021-02-13 14:24:43 +00:00