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

Method SetProps

ent/entity_create.go:139–142  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.EntityProps)

Source from the content-addressed store, hash-verified

137
138// SetProps sets the "props" field.
139func (ec *EntityCreate) SetProps(tp *types.EntityProps) *EntityCreate {
140 ec.mutation.SetProps(tp)
141 return ec
142}
143
144// AddFileIDs adds the "file" edge to the File entity by IDs.
145func (ec *EntityCreate) AddFileIDs(ids ...int) *EntityCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected