fn print_cache(cache: &crate::Cache) {
eprintln!();
for e in cache.iter().unwrap() {
let e = e.unwrap();
eprintln!(
" {} => {}",
e.file_name.to_string_lossy(),
e.full_path.display()
);
}
}
#[test]
fn test1() {
let cache = crate::Cache::load().unwrap();
print_cache(&cache);
}