gix_utils::str

Function precompose_os_string

source
pub fn precompose_os_string(name: Cow<'_, OsStr>) -> Cow<'_, OsStr>
Expand description

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