Skip to main content

project_label

Function project_label 

Source
pub fn project_label(primary: &Path) -> Option<String>
Expand description

The project label for a primary checkout.

A registration that names a label (pitchfork config add --label) wins: a tool that registers under a generated namespace, kept only to make daemon IDs unique, says here what the hostname should be. Otherwise a project registered or configured with an explicit namespace uses that name, and failing that the directory name of the primary checkout is used.