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

Method SetID

ent/gitcommit_create.go:129–132  ·  view source on GitHub ↗

SetID sets the "id" field.

(u uuid.UUID)

Source from the content-addressed store, hash-verified

127
128// SetID sets the "id" field.
129func (gcc *GitCommitCreate) SetID(u uuid.UUID) *GitCommitCreate {
130 gcc.mutation.SetID(u)
131 return gcc
132}
133
134// SetNillableID sets the "id" field if the given value is not nil.
135func (gcc *GitCommitCreate) SetNillableID(u *uuid.UUID) *GitCommitCreate {

Callers 2

SetNillableIDMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected