Function slash_path

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

Converts the given path to Unix-like path separated by “/”.

The returned path might not work on Windows if it was canonicalized. On Unix, this function is noop.