pub fn sanitize_path(p: &Path) -> String
The same, for a path that came off a walk of somebody’s disk.
Path::display() does not escape control bytes, and the fleet prints paths it found by scanning directories it does not own.
Path::display()