Function display_path

Source
pub fn display_path(path: &Path) -> String
Expand description

Opinionated display for a path:

  • Normalises the path.
  • Prefixed paths use the \ separator, all other paths use the / separator.