Skip to main content

resolve_project_name

Function resolve_project_name 

Source
fn resolve_project_name(remainder: &str, projects_root: &Path) -> (String, bool)
Expand description

Resolve the repo name from a slug remainder (the encoded <name>/<subpath...> after the Projects/ prefix). Picks the longest leading run of --joined tokens that is an existing directory under projects_root; when nothing resolves (the repo is not checked out) the whole run is the best-effort label.