Skip to main content

normalize_tool_path

Function normalize_tool_path 

Source
pub fn normalize_tool_path(path: &str) -> String
Expand description

Normalize paths from any client format to a consistent OS-native form. Handles MSYS2/Git Bash (/c/Users/... -> C:/Users/...), mixed separators, double slashes, and trailing slashes. Always uses forward slashes for consistency.