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

Replaces windows path separators with slashes, unconditionally.

Note Do not use these and prefer the conditional versions of this method.

Examples found in repository?
src/convert.rs (line 183)
181
182
183
184
185
186
187
pub fn to_native_separators<'a>(path: impl Into<Cow<'a, BStr>>) -> Cow<'a, BStr> {
    #[cfg(not(windows))]
    let p = to_unix_separators(path);
    #[cfg(windows)]
    let p = to_windows_separators(path);
    p
}