pub fn resolve_path_with_separator<S, I>( parts: I, force_posix_sep: bool, ) -> Result<String>where S: AsRef<str>, I: IntoIterator<Item = S>,