Skip to main content

sanitize_path

Function sanitize_path 

Source
pub fn sanitize_path(p: &Path) -> String
Expand description

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.