Skip to main content

normalize_rel

Function normalize_rel 

Source
pub fn normalize_rel(p: &Path) -> PathBuf
Expand description

Normalise a relative path by resolving . and .. components, so a binding clause like ./tokens.binding.ts beside src/tokens.bynk yields the output path tokens.binding.ts.