pub fn current_dir(precompose_unicode: bool) -> Result<PathBuf>
Expand description
Like std::env::current_dir()
, but it will precompose_unicode
if that value is true, if the current directory
is valid unicode and if there are decomposed unicode codepoints.
Thus, it will turn "a\u{308}"
into รค
if true
.
Keeping it false
will not alter the output.
Note that precompose_unicode
most be set using the core.precomposeUnicode
git configuration.