Use StoreId::local_display_string() for less errorhandling here
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
9af7e9a9ab
commit
08b7a46c74
1 changed files with 2 additions and 14 deletions
|
@ -240,14 +240,7 @@ fn main() {
|
||||||
do_write!(out, "{} average overall bytecount", sum_overall_byte_size / n);
|
do_write!(out, "{} average overall bytecount", sum_overall_byte_size / n);
|
||||||
|
|
||||||
if let Some((num, path)) = max_overall_byte_size {
|
if let Some((num, path)) = max_overall_byte_size {
|
||||||
do_write!(out, "Largest Entry ({} bytes): {}",
|
do_write!(out, "Largest Entry ({} bytes): {}", num, path.local_display_string());
|
||||||
num,
|
|
||||||
path
|
|
||||||
.into_pathbuf()
|
|
||||||
.map_err_trace_exit_unwrap()
|
|
||||||
.to_str()
|
|
||||||
.unwrap_or("Failed converting path to string")
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_write!(out, "{} average internal link count per entry", num_internal_links / n);
|
do_write!(out, "{} average internal link count per entry", num_internal_links / n);
|
||||||
|
@ -255,12 +248,7 @@ fn main() {
|
||||||
if let Some((num, path)) = max_internal_links {
|
if let Some((num, path)) = max_internal_links {
|
||||||
do_write!(out, "Entry with most internal links ({}): {}",
|
do_write!(out, "Entry with most internal links ({}): {}",
|
||||||
num,
|
num,
|
||||||
path
|
path.local_display_string());
|
||||||
.into_pathbuf()
|
|
||||||
.map_err_trace_exit_unwrap()
|
|
||||||
.to_str()
|
|
||||||
.unwrap_or("Failed converting path to string")
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
do_write!(out, "{} verified entries", verified_count);
|
do_write!(out, "{} verified entries", verified_count);
|
||||||
do_write!(out, "{} unverified entries", unverified_count);
|
do_write!(out, "{} unverified entries", unverified_count);
|
||||||
|
|
Loading…
Reference in a new issue