mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-06-14 15:40:16 +00:00
debug: Show chunk size while inspecting
Signed-off-by: Maximiliano Sandoval R <m.sandoval@proxmox.com>
This commit is contained in:
parent
4c147b3972
commit
bdf327d35f
@ -191,12 +191,14 @@ fn inspect_chunk(
|
||||
"crc": crc_status,
|
||||
"encryption": blob.crypt_mode()?,
|
||||
"is-compressed": blob.is_compressed(),
|
||||
"size": blob.raw_size(),
|
||||
"referenced-by": references
|
||||
}),
|
||||
None => json!({
|
||||
"crc": crc_status,
|
||||
"encryption": blob.crypt_mode()?,
|
||||
"is-compressed": blob.is_compressed(),
|
||||
"size": blob.raw_size(),
|
||||
}),
|
||||
};
|
||||
|
||||
@ -204,6 +206,7 @@ fn inspect_chunk(
|
||||
println!("CRC: {}", val["crc"]);
|
||||
println!("encryption: {}", val["encryption"]);
|
||||
println!("is-compressed: {}", val["is-compressed"]);
|
||||
println!("size: {}", val["size"]);
|
||||
if let Some(refs) = val["referenced-by"].as_array() {
|
||||
println!("referenced by:");
|
||||
for reference in refs {
|
||||
|
Loading…
Reference in New Issue
Block a user