mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-02 18:28:12 +00:00
add crc64nvme checksumming algorithm (fix #963)
This commit is contained in:
@@ -334,6 +334,12 @@ pub async fn handle_list_parts(
|
||||
}
|
||||
_ => None,
|
||||
},
|
||||
checksum_crc64nvme: match &checksum {
|
||||
Some(ChecksumValue::Crc64Nvme(x)) => {
|
||||
Some(s3_xml::Value(BASE64_STANDARD.encode(&x)))
|
||||
}
|
||||
_ => None,
|
||||
},
|
||||
checksum_sha1: match &checksum {
|
||||
Some(ChecksumValue::Sha1(x)) => {
|
||||
Some(s3_xml::Value(BASE64_STANDARD.encode(&x)))
|
||||
|
||||
Reference in New Issue
Block a user