Function sys_to_unix

Source
pub fn sys_to_unix(path: &str) -> Cow<'_, str>
Expand description

Converts System paths into Unix paths. This is a noop on Unix systems, and replaces backslash directory separators with forward slashes on Windows.