v0.39.0
This commit is contained in:
1 parent
45b1fc04c7
commit
8b7f5dbfb8
21 files changed
+765
-413
No files matched your search
@@ -454,11 +454,11 @@ fn hash_file(path: &Path) -> Result<(u64, String)> {
|
||||
.context("backup input too large")?;
|
||||
hasher.update(&buffer[..read]);
|
||||
}
|
||||
Ok((size, format!("{:x}", hasher.finalize())))
|
||||
Ok((size, crate::hex::encode_lower(&hasher.finalize())))
|
||||
}
|
||||
|
||||
fn hash_bytes(bytes: &[u8]) -> String {
|
||||
format!("{:x}", Sha256::digest(bytes))
|
||||
crate::hex::encode_lower(&Sha256::digest(bytes))
|
||||
}
|
||||
|
||||
fn excluded_directory(name: &str) -> bool {
|
||||
|
||||
Reference in new issue
Block a user