pub fn display_path(path: &str, kind: FsKind, style: PathStyle) -> StringExpand description
Translate a full canonical path into display form for style — used for
ls -R directory headers and the shell prompt. PathStyle::Unix (and
/-native filesystems) pass through; native rejoins components with the
native separator (prefixed, so the root is a bare separator) and reverses
the HFS/HFS+ in-name :→/ swap.