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

Method SetStorageFileID

ent/nodeversion_create.go:181–184  ·  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

179
180// SetStorageFileID sets the "storage_file" edge to the StorageFile entity by ID.
181func (nvc *NodeVersionCreate) SetStorageFileID(id uuid.UUID) *NodeVersionCreate {
182 nvc.mutation.SetStorageFileID(id)
183 return nvc
184}
185
186// SetNillableStorageFileID sets the "storage_file" edge to the StorageFile entity by ID if the given value is not nil.
187func (nvc *NodeVersionCreate) SetNillableStorageFileID(id *uuid.UUID) *NodeVersionCreate {

Callers 2

SetStorageFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected