Skip to main content

project_id

Function project_id 

Source
pub fn project_id(start: &Path) -> Option<String>
Expand description

Canonical project id (repo-root path string) for scope matching, or None if not in a repo. Canonicalized so two entry points into the same repo (subdir, symlink, relative path) produce the same id.