mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-22 10:46:38 +00:00
rename hash() to sha256sum(), we might want to change it at some places
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ pub trait PartitionKey {
|
||||
|
||||
impl PartitionKey for String {
|
||||
fn hash(&self) -> Hash {
|
||||
hash(self.as_bytes())
|
||||
sha256sum(self.as_bytes())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user