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

Method SetNillableFileURL

ent/storagefile_create.go:94–99  ·  view source on GitHub ↗

SetNillableFileURL sets the "file_url" field if the given value is not nil.

(s *string)

Source from the content-addressed store, hash-verified

92
93// SetNillableFileURL sets the "file_url" field if the given value is not nil.
94func (sfc *StorageFileCreate) SetNillableFileURL(s *string) *StorageFileCreate {
95 if s != nil {
96 sfc.SetFileURL(*s)
97 }
98 return sfc
99}
100
101// SetID sets the "id" field.
102func (sfc *StorageFileCreate) SetID(u uuid.UUID) *StorageFileCreate {

Callers

nothing calls this directly

Calls 1

SetFileURLMethod · 0.95

Tested by

no test coverage detected