mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
Make hash constants start from 1 not 2
This commit is contained in:
parent
a63dd6020c
commit
3ffea738e6
@ -18,14 +18,14 @@ type HashType int
|
||||
var ErrHashUnsupported = fmt.Errorf("hash type not supported")
|
||||
|
||||
const (
|
||||
// HashNone indicates no hashes are supported
|
||||
HashNone HashType = 0
|
||||
|
||||
// HashMD5 indicates MD5 support
|
||||
HashMD5 HashType = 1 << iota
|
||||
|
||||
// HashSHA1 indicates SHA-1 support
|
||||
HashSHA1
|
||||
|
||||
// HashNone indicates no hashes are supported
|
||||
HashNone HashType = 0
|
||||
)
|
||||
|
||||
// SupportedHashes returns a set of all the supported hashes by
|
||||
|
Loading…
Reference in New Issue
Block a user