Skip to main content

normalize_shell_path

Function normalize_shell_path 

Source
pub fn normalize_shell_path(path: &str) -> String
Expand description

Normalize path to a native filesystem spelling.

On Windows, MSYS-style drive paths (/c/...) are rewritten to C:/...; everything else — and every path on non-Windows — passes through unchanged.