MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetNillableUploadSessionID

Method SetNillableUploadSessionID

ent/entity_create.go:131–136  ·  view source on GitHub ↗

SetNillableUploadSessionID sets the "upload_session_id" field if the given value is not nil.

(u *uuid.UUID)

Source from the content-addressed store, hash-verified

129
130// SetNillableUploadSessionID sets the "upload_session_id" field if the given value is not nil.
131func (ec *EntityCreate) SetNillableUploadSessionID(u *uuid.UUID) *EntityCreate {
132 if u != nil {
133 ec.SetUploadSessionID(*u)
134 }
135 return ec
136}
137
138// SetProps sets the "props" field.
139func (ec *EntityCreate) SetProps(tp *types.EntityProps) *EntityCreate {

Callers

nothing calls this directly

Calls 1

SetUploadSessionIDMethod · 0.95

Tested by

no test coverage detected