Skip to main content

apply

Function apply 

Source
pub fn apply(
    env: &dyn GoBuildEnv,
    ctx: &EncodeCtx,
) -> Result<BuildSpec, GomodError>
Expand description

The encoder. Produces a v2 Incremental BuildSpec — the per-package build graph — from go list output + go.mod, hashing every node’s sources for the incremental cache key.