"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
Make hash constants start from 1 not 2
Nick Craig-Wood3ffea738e6df
diff --git a/fs/hash.go b/fs/hash.goindex 8efbdacf2..faf50176d 100644--- a/fs/hash.go+++ b/fs/hash.go@@ -18,14 +18,14 @@ type HashType intvar ErrHashUnsupported = fmt.Errorf("hash type not supported")const (- // HashNone indicates no hashes are supported- HashNone HashType = 0-// HashMD5 indicates MD5 supportHashMD5 HashType = 1 << iota// HashSHA1 indicates SHA-1 supportHashSHA1++ // HashNone indicates no hashes are supported+ HashNone HashType = 0)// SupportedHashes returns a set of all the supported hashes by