MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Extend

Method Extend

app/controlplane/pkg/data/ent/hook/hook.go:425–427  ·  view source on GitHub ↗

Extend extends a chain, adding the specified chain as the last ones in the mutation flow.

(chain Chain)

Source from the content-addressed store, hash-verified

423// Extend extends a chain, adding the specified chain
424// as the last ones in the mutation flow.
425func (c Chain) Extend(chain Chain) Chain {
426 return c.Append(chain.hooks...)
427}

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.95

Tested by

no test coverage detected