Skip to main content

cargo_root_cohort_key

Function cargo_root_cohort_key 

Source
pub fn cargo_root_cohort_key(
    project: ProjectInstanceId,
    package: &str,
    manifest: &str,
    directory: &str,
) -> Result<CanonicalResolutionKey, GraphContractError>
Expand description

Canonical invalidation cause emitted only by admitted explicit sibling roots.

Its configuration role is distinct from automatic inventory, so an unlisted helper cannot invalidate explicit roots when automatic discovery is disabled.

ยงErrors

Returns a graph contract error for invalid package, manifest or directory identity.