gix_path

Function to_windows_separators

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

Find backslashes and replace them with slashes, which typically resembles a unix path, unconditionally.

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