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
..
2020-05-12 15:56:50 +00:00
2020-09-27 11:44:05 +01:00
2020-01-18 10:41:08 +00:00
2020-10-06 16:54:42 +01:00