refactor: remove digest type and value handling

This commit is contained in:
Andrew Phillips
2025-05-22 09:06:51 -03:00
committed by Andrew Phillips (aider)
parent a8c363333c
commit 91cceff3e8
3 changed files with 0 additions and 33 deletions

View File

@@ -141,15 +141,6 @@ pub fn mode_list(
},
ColumnType::Compression => {
Cell::new(&string_column(item.compression.to_string(), column_width))
}
ColumnType::DigestType => {
Cell::new(&string_column(item.digest_type.to_string(), column_width))
}
ColumnType::DigestValue => match item.digest_value {
Some(ref value) => Cell::new(&string_column(value.to_string(), column_width)),
None => Cell::new("Missing")
.with_style(Attr::ForegroundColor(color::RED))
.with_style(Attr::Bold),
},
ColumnType::FileSize => match item_path.metadata() {
Ok(metadata) => Cell::new_align(