Skip to main content

owning_project

Function owning_project 

Source
pub(crate) fn owning_project<'a>(
    config: &'a LoadedConfig,
    path: &str,
) -> Option<&'a LoadedProject>
Expand description

The project a concrete path belongs to, when the path is one of a project’s keys. The config’s own names are matched, longest first, so a project name containing a dot stays one name.

Org-level keys are owning_org’s, and global keys belong to neither.