Expand description
Convert Windows paths to WSL paths and vice versa
§Example
use wslpath2::{convert, Conversion};
let path = convert("/mnt/c", None, Conversion::WslToWindows, false).unwrap_or_default();
assert_eq!(path, "C:\\");
Enums§
- Conversion
- Type of conversion to perform
Functions§
- convert
- Convert Paths using the
wslpath