gix_utils::str

Function precompose_path

source
pub fn precompose_path(path: Cow<'_, Path>) -> Cow<'_, Path>
Expand description

Return the precomposed version of path, or path itself if it contained illformed unicode, or if the unicode version didn’t contains decomposed unicode. Otherwise, similar to precompose()