pub fn translate_path(path: &str) -> PathTranslationExpand description
Translate a path auto-detecting direction.
If the path starts with a drive letter (e.g., C:\) or a UNC prefix
(\\wsl$), it is treated as a Windows path. Otherwise, it is treated
as a Linux path.