Skip to main content

rel_key

Function rel_key 

Source
pub fn rel_key(project: &Path, dir: &Path) -> String
Expand description

Normalize dir to a project-relative, /-separated key (the form stored in config and used as a stable identity). An absolute or already-relative path that is not under project is returned cleaned but unchanged in spirit.