Expand description
Convert paths between WSL guest and Windows host.
This library aims to offer functionality similar of the wslpath
conversion tool added in WSL
build 17046, but is
implemented in pure Rust.
Existing crates such as wslpath
call wsl.exe wslpath
internally, which may lead to a lot of command invocations when multiple paths need to be
converted.
Enums§
- Error
- Represents an error that occurred during conversion.
Functions§
- windows_
to_ wsl - Convert a Windows path to a WSL path.
- wsl_
to_ windows - Convert a WSL path to a Windows path.