display_path

Function display_path 

Source
fn display_path(path: impl AsRef<Path>) -> String
Expand description

Convert a path into the display string used in the final report.

The conversion is lossy on purpose so the report stays printable even if a path contains non-UTF-8 bytes.