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

Method SetProps

ent/entity_update.go:673–676  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.EntityProps)

Source from the content-addressed store, hash-verified

671
672// SetProps sets the "props" field.
673func (euo *EntityUpdateOne) SetProps(tp *types.EntityProps) *EntityUpdateOne {
674 euo.mutation.SetProps(tp)
675 return euo
676}
677
678// ClearProps clears the value of the "props" field.
679func (euo *EntityUpdateOne) ClearProps() *EntityUpdateOne {

Callers

nothing calls this directly

Calls 1

SetPropsMethod · 0.45

Tested by

no test coverage detected