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

Method SetNode

ent/nodeversion_update.go:630–632  ·  view source on GitHub ↗

SetNode sets the "node" edge to the Node entity.

(n *Node)

Source from the content-addressed store, hash-verified

628
629// SetNode sets the "node" edge to the Node entity.
630func (nvuo *NodeVersionUpdateOne) SetNode(n *Node) *NodeVersionUpdateOne {
631 return nvuo.SetNodeID(n.ID)
632}
633
634// SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.
635func (nvuo *NodeVersionUpdateOne) SetStorageFileID(id uuid.UUID) *NodeVersionUpdateOne {

Callers

nothing calls this directly

Calls 1

SetNodeIDMethod · 0.95

Tested by

no test coverage detected