Skip to main content

Module pin

Module pin 

Source
Expand description

Pins as a two-stage type: PinSpec at config load, Pin after resolution.

A PinSpec either names a concrete tag (Literal) or describes a set of candidate tags via a glob plus a selection rule (Pattern). Resolution against a snapshot store turns either form into a Pin, which the rest of the compatibility pipeline treats as the only pin type.

Structs§

Pin
SelfPin
The self-ref half of a PinSpec, handed to the one function that resolves it so a caller cannot pass a literal or pattern spec by mistake.

Enums§

PinSelect
PinSelector
Either a named series or a single (project, tag) pin: the “where” a check runs, addressed by --series or by --project and --tag.
PinSpec

Functions§

resolve_all
Resolve a slice of PinSpecs into concrete Pins by consulting store. Returns at the first resolution failure.