pub fn wsl_to_windows(path: &str) -> StringExpand description
Translate a WSL2 Linux path to a Windows-style path.
§Rules
/mnt/X/...→X:\...(drive mount paths)/home/user→\\wsl$\Distro\home\user(native Linux paths)
§Examples
use rusty_stack::platform::path_bridge::wsl_to_windows;
assert_eq!(wsl_to_windows("/mnt/c/Users/alice"), r"C:\Users\alice");
assert_eq!(wsl_to_windows("/home/alice/.mlstack"), r"\\wsl$\Ubuntu\home\alice\.mlstack");