pub fn normalize_path(input: &str, options: PathInputOptions<'_>) -> PathBufExpand description
Normalize a path string according to PathInputOptions.
Order matches TypeScript normalizePath:
- optional trim
- optional Unicode-space normalization
- optional leading-
@strip - optional tilde expansion (
~,~/, Windows~\only — not~user) file://conversion via WHATWGUrl::to_file_path
Relative paths stay relative. This does not join against a base directory;
use resolve_path / resolve_path_with for that.