Added basic support for displaying info about U8 archives to rustii CLI

This commit is contained in:
2025-04-17 20:33:44 -04:00
parent ea2e31756c
commit 66476e2c98
4 changed files with 60 additions and 23 deletions

View File

@@ -345,19 +345,3 @@ impl U8Archive {
Ok(buf)
}
}
// pub fn print_full_tree(dir: &Rc<RefCell<U8Directory>>, indent: usize) {
// let prefix = " ".repeat(indent);
// println!("{}D {}", prefix, dir.borrow().name);
//
// // Print subdirectories
// for subdir in &dir.borrow().dirs {
// print_full_tree(subdir, indent + 1);
// }
//
// // Print files
// for file in &dir.borrow().files {
// let file_name = &file.borrow().name;
// println!("{} F {}", prefix, file_name);
// }
// }