1
mirror of https://github.com/rclone/rclone synced 2024-11-25 02:47:14 +01:00
rclone/lib
albertony 711478554e lib/file: use builtin MkdirAll with go1.22 instead of our own custom version for windows
Starting with go1.22 the standard os.MkdirAll has improved its handling of volume names,
and as part of that it now stops recursing into parent directory if it is a volume name
(see: cd589c8a73).
This is similar to what was our main change and reason for creating a custom version. When
building with go1.22 or newer we can therefore stop using our custom version, with the
advantage that we automatically get current and future relevant improvements from golang.
To support building with go1.21 the existing custom version is still kept, and therefore
also our wrapper function file.MkdirAll - but it now just calls os.MkdirAll with go1.22
or newer on Windows.

See #5401, #6420 and acf1e2df84 for details about the
creation of our custom version of MkdirAll.
2024-09-02 18:16:38 +02:00
..
atexit build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
batcher docs: fix typo in batcher docs for dropbox and googlephotos 2024-07-24 10:58:22 +01:00
bucket bucket: add Join function for a simplified path.Join 2023-03-03 15:51:00 +00:00
buildinfo build: fix gocritic lint issue unslice 2024-08-15 22:08:34 +01:00
cache lib/cache: add PutErr to put a value with an error into the cache 2024-02-29 16:21:41 +00:00
daemonize build: fix gocritic lint issue wrapperfunc 2024-08-15 22:08:34 +01:00
debug build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
dircache build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
diskusage Add lib/diskusage to measure used/free on disks 2023-09-07 15:57:45 +01:00
encoder lib: fix incorrect conversion between integer types 2024-08-17 15:03:39 +02:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errcount errcount: factor errcount abstraction from operations 2024-02-22 11:13:54 +00:00
errors lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
exitcode --max-transfer - add new exit code (10) 2023-07-18 09:51:31 +01:00
file lib/file: use builtin MkdirAll with go1.22 instead of our own custom version for windows 2024-09-02 18:16:38 +02:00
http lib/http: fix tests after go1.23 update 2024-07-20 10:54:47 +01:00
israce build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
jwtutil build: fix govet lint errors with golangci-lint v1.60.1 2024-08-14 18:25:40 +01:00
kv build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
mmap lib/mmap: fix lint error on deprecated reflect.SliceHeader 2024-07-20 10:54:47 +01:00
multipart multipart: make pool buffer size public 2024-08-14 21:13:09 +01:00
oauthutil oauthutil: clear client secret if client ID is set 2024-05-11 16:03:32 +01:00
pacer amazonclouddrive: remove Amazon Drive backend code and docs #7539 2024-01-04 17:05:54 +00:00
plugin build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
pool pool: Add ability to wait for a write to RW 2024-08-14 21:13:09 +01:00
proxy build: fix lint errors when re-enabling revive exported & package-comments 2023-08-29 13:03:13 +01:00
random random: update Password docs 2024-04-25 11:14:14 +01:00
ranges refactor: replace min/max helpers with built-in min/max 2024-08-17 13:09:44 +02:00
readers ftp: fix multi-thread copy 2024-01-03 12:21:08 +00:00
rest build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
structs test: do not test deprecated and unused Dial and DialTLS functions on http Transport type 2023-03-26 14:28:15 +02:00
systemd systemd: prevent unmount rc command from sending a STOPPING=1 sd-notify message 2024-07-19 10:32:34 +01:00
terminal build: fix govet lint errors with golangci-lint v1.60.1 2024-08-14 18:25:40 +01:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00