sync: don't allow syncs on overlapping remotes - fixes #2932

This commit is contained in:
Nick Craig-Wood
2019-02-14 12:06:26 +00:00
parent c5775cf73d
commit 84c650818e
4 changed files with 28 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ var (
ErrorNotAFile = errors.New("is a not a regular file")
ErrorNotDeleting = errors.New("not deleting files as there were IO errors")
ErrorNotDeletingDirs = errors.New("not deleting directories as there were IO errors")
ErrorCantMoveOverlapping = errors.New("can't move files on overlapping remotes")
ErrorOverlapping = errors.New("can't sync or move files on overlapping remotes")
ErrorDirectoryNotEmpty = errors.New("directory not empty")
ErrorImmutableModified = errors.New("immutable file modified")
ErrorPermissionDenied = errors.New("permission denied")