Skip to main content

classify

Function classify 

Source
pub async fn classify(
    env: &dyn GcEnv,
    served: &ServedKinds,
    dependent_namespace: Option<&str>,
    references: &[Value],
) -> Result<Classification, Unresolvable>
Expand description

Classify every reference in references, in order, stopping at the first one that cannot be classified (upstream does the same: one unresolvable reference pins the dependent even when every other one is verifiably dangling).

§Errors

The first Unresolvable, including Unresolvable::Malformed for an entry that does not parse.