Crate wslpath_rs

Source
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.