gix_path

Function to_unix_separators_on_windows

Source
pub fn to_unix_separators_on_windows<'a>(
    path: impl Into<Cow<'a, BStr>>,
) -> Cow<'a, BStr>
Expand description

Replaces windows path separators with slashes, but only do so on windows.