rclone/backend/local
Nick Craig-Wood 7428e47ebc local: fix sizes and syncing with --links option on Windows - fixes #4581
Before this change rclone returned the size from the Stat call of the
link. On Windows this reads as 0 always, however on unix it reads as
the length of the text in the link. This caused errors like this when
syncing:

    Failed to copy: corrupted on transfer: sizes differ 0 vs 13

This change causes Windows platforms to read the link and use that as
the size of the link instead of 0 which fixes the problem.
2020-10-13 16:29:56 +01:00
..
about_unix.go local: return fs.ErrorDirNot found from About and Purge 2020-08-19 18:02:21 +01:00
about_windows.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
encode_darwin.go backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
encode_other.go backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
encode_windows.go backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
fadvise_other.go backend/local: Avoid polluting page cache when uploading local files to remote backends 2019-08-08 23:41:52 +01:00
fadvise_unix.go backend/local: fadvise run syscall on a dedicated go routine 2019-08-14 21:01:39 +01:00
lchtimes.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
lchtimes_unix.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
local.go local: fix sizes and syncing with --links option on Windows - fixes #4581 2020-10-13 16:29:56 +01:00
local_internal_test.go local: fix sizes and syncing with --links option on Windows - fixes #4581 2020-10-13 16:29:56 +01:00
local_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
read_device_other.go Implement new backend config system 2018-07-16 21:20:47 +01:00
read_device_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
remove_other.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_test.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_windows.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
tests_test.go local: factor UNCPath into lib/file 2020-06-30 12:01:36 +01:00