Function to_unix_separators

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

Replace Windows path separators with slashes, which typically resembles a Unix path, unconditionally.

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