pub fn slash_path(path: &Path) -> Cow<'_, Path>
Converts the given path to Unix-like path separated by “/”.
path
The returned path might not work on Windows if it was canonicalized. On Unix, this function is noop.