resolve_path
Resolve relative WSL paths to absolute POSIX paths, expanding ~, ., and .. using the working directory and distro home.
Instructions
Resolve a possibly-relative WSL POSIX path (handles ~, ., ..) to an absolute POSIX path, using a working directory and the distro home.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for relative paths | |
| path | Yes | The path to resolve | |
| distro | No | WSL distro; defaults to defaultDistro |