rclone/backend/local
Nick Craig-Wood 9c6f3ae82c local: log errors when listing instead of returning an error
Before this change, rclone would return an error from the listing if
there was an unreadable directory, or if there was a problem stat-ing
a directory entry.  This was frustrating because the command
completely aborts at that point when there is work it could do.

After this change rclone lists the directories and reports ERRORs for
unreadable directories or problems stat-ing files, but does return an
error from the listing.  It does set the error flag which means the
command will fail (and objects won't be deleted with `rclone sync`).

This brings rclone's behaviour exactly in to line with rsync's
behaviour.  It does as much as possible, but doesn't let the errors
pass silently.

Fixes #3179
2019-05-13 18:30:33 +01:00
..
about_unix.go build: fix problems found with unconvert 2019-02-02 11:45:07 +00:00
about_windows.go about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
lchtimes_unix.go local: when using -l fix setting modification times of symlinks #1152 2019-01-28 13:47:27 +00:00
lchtimes.go local: when using -l fix setting modification times of symlinks #1152 2019-01-28 13:47:27 +00:00
local_internal_test.go local: fix symlink tests under Windows 2019-01-29 15:40:49 +00:00
local_test.go Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
local.go local: log errors when listing instead of returning an error 2019-05-13 18:30:33 +01:00
preallocate_other.go local: preallocate files on linux with fallocate(2) 2018-09-19 16:04:57 +01:00
preallocate_unix.go local: preallocate files on linux with fallocate(2) 2018-09-19 16:04:57 +01:00
preallocate_windows.go local: preallocate files on Windows to reduce fragmentation #2469 2018-09-19 16:04:57 +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 problems found with unconvert 2019-02-02 11:45:07 +00: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 local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
tests_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00