"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
hash: fix hash names for DropboxHash and CRC-32
Nick Craig-Wood1ce1ea34aad2
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.goindex 8d683c5aa..3deb80328 100644--- a/backend/dropbox/dropbox.go+++ b/backend/dropbox/dropbox.go@@ -113,7 +113,7 @@ var (// Register with Fsfunc init() {- DbHashType = hash.RegisterHash("Dropbox", 64, dbhash.New)+ DbHashType = hash.RegisterHash("DropboxHash", 64, dbhash.New)fs.Register(&fs.RegInfo{Name: "dropbox",Description: "Dropbox",diff --git a/fs/hash/hash.go b/fs/hash/hash.goindex feee5200c..23b211fd3 100644--- a/fs/hash/hash.go+++ b/fs/hash/hash.go@@ -66,7 +66,7 @@ func init() {MD5 = RegisterHash("MD5", 32, md5.New)SHA1 = RegisterHash("SHA-1", 40, sha1.New)Whirlpool = RegisterHash("Whirlpool", 128, whirlpool.New)- CRC32 = RegisterHash("CRC32", 8, func() hash.Hash { return crc32.NewIEEE() })+ CRC32 = RegisterHash("CRC-32", 8, func() hash.Hash { return crc32.NewIEEE() })}// Supported returns a set of all the supported hashes by