mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
hash: fix hash names for DropboxHash and CRC-32
These were unintentionally renamed as part of 1dc8bcd48c
Fixes #3679
This commit is contained in:
parent
e6378daadf
commit
1ce1ea34aa
|
@ -113,7 +113,7 @@ var (
|
||||||
|
|
||||||
// Register with Fs
|
// Register with Fs
|
||||||
func init() {
|
func init() {
|
||||||
DbHashType = hash.RegisterHash("Dropbox", 64, dbhash.New)
|
DbHashType = hash.RegisterHash("DropboxHash", 64, dbhash.New)
|
||||||
fs.Register(&fs.RegInfo{
|
fs.Register(&fs.RegInfo{
|
||||||
Name: "dropbox",
|
Name: "dropbox",
|
||||||
Description: "Dropbox",
|
Description: "Dropbox",
|
||||||
|
|
|
@ -66,7 +66,7 @@ func init() {
|
||||||
MD5 = RegisterHash("MD5", 32, md5.New)
|
MD5 = RegisterHash("MD5", 32, md5.New)
|
||||||
SHA1 = RegisterHash("SHA-1", 40, sha1.New)
|
SHA1 = RegisterHash("SHA-1", 40, sha1.New)
|
||||||
Whirlpool = RegisterHash("Whirlpool", 128, whirlpool.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
|
// Supported returns a set of all the supported hashes by
|
||||||
|
|
Loading…
Reference in New Issue
Block a user