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

Method SetNillableNodeID

ent/nodeversion_update.go:51–56  ·  view source on GitHub ↗

SetNillableNodeID sets the "node_id" field if the given value is not nil.

(s *string)

Source from the content-addressed store, hash-verified

49
50// SetNillableNodeID sets the "node_id" field if the given value is not nil.
51func (nvu *NodeVersionUpdate) SetNillableNodeID(s *string) *NodeVersionUpdate {
52 if s != nil {
53 nvu.SetNodeID(*s)
54 }
55 return nvu
56}
57
58// SetVersion sets the "version" field.
59func (nvu *NodeVersionUpdate) SetVersion(s string) *NodeVersionUpdate {

Callers

nothing calls this directly

Calls 1

SetNodeIDMethod · 0.95

Tested by

no test coverage detected