mirror of
https://github.com/rclone/rclone
synced 2024-11-21 22:50:16 +01:00
1e1af46a12
Before this fix GetFreeSpace returned math.MaxInt64 for remotes which don't support reading free space, however this is used in various comparison routines as a too large value, meaning that remotes of size math.MaxInt64 were never being selected. This fixes GetFreeSpace to return math.MaxInt64 - 1 so then can be selected. It also fixes GetUsedSpace the same way however as the default for not supported was 0 this was very unlikely to have ever caused a problem. |
||
---|---|---|
.. | ||
common | ||
policy | ||
upstream | ||
entry.go | ||
errors.go | ||
union_internal_test.go | ||
union_test.go | ||
union.go |