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

Method SetStorageFileID

ent/nodeversion_update.go:635–638  ·  view source on GitHub ↗

SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

633
634// SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.
635func (nvuo *NodeVersionUpdateOne) SetStorageFileID(id uuid.UUID) *NodeVersionUpdateOne {
636 nvuo.mutation.SetStorageFileID(id)
637 return nvuo
638}
639
640// SetNillableStorageFileID sets the "storage_file" edge to the StorageFile entity by ID if the given value is not nil.
641func (nvuo *NodeVersionUpdateOne) SetNillableStorageFileID(id *uuid.UUID) *NodeVersionUpdateOne {

Callers 2

SetStorageFileMethod · 0.95

Calls 1

SetStorageFileIDMethod · 0.45

Tested by

no test coverage detected