pub fn root_path(cwd: &Path, path: &Path) -> PathBufExpand description
The root a --dag-path names: the path as given (its . components dropped), as the
variable’s entries are, so a rename in [dags.roots] matches it; only a path with no name of
its own is resolved: . is cwd, and one ending in .. its real path on the filesystem (a
lexical .. would be wrong past a symbolic link; a missing one is left, and refused unnamed).