"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
fs: add fs.ErrorCantUploadEmptyFiles
Laura6ff7b2eaabb8
diff --git a/fs/fs.go b/fs/fs.goindex 19ce9d56b..4166c349c 100644--- a/fs/fs.go+++ b/fs/fs.go@@ -51,6 +51,7 @@ var (ErrorCantCopy = errors.New("can't copy object - incompatible remotes")ErrorCantMove = errors.New("can't move object - incompatible remotes")ErrorCantDirMove = errors.New("can't move directory - incompatible remotes")+ ErrorCantUploadEmptyFiles = errors.New("can't upload empty files to this remote")ErrorDirExists = errors.New("can't copy directory - destination already exists")ErrorCantSetModTime = errors.New("can't set modified time")ErrorCantSetModTimeWithoutDelete = errors.New("can't set modified time without deleting existing object")