MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / AddResults

Method AddResults

ent/gitcommit_update.go:177–183  ·  view source on GitHub ↗

AddResults adds the "results" edges to the CIWorkflowResult entity.

(c ...*CIWorkflowResult)

Source from the content-addressed store, hash-verified

175
176// AddResults adds the "results" edges to the CIWorkflowResult entity.
177func (gcu *GitCommitUpdate) AddResults(c ...*CIWorkflowResult) *GitCommitUpdate {
178 ids := make([]uuid.UUID, len(c))
179 for i := range c {
180 ids[i] = c[i].ID
181 }
182 return gcu.AddResultIDs(ids...)
183}
184
185// Mutation returns the GitCommitMutation object of the builder.
186func (gcu *GitCommitUpdate) Mutation() *GitCommitMutation {

Callers

nothing calls this directly

Calls 1

AddResultIDsMethod · 0.95

Tested by

no test coverage detected