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

Method SetProps

ent/share_update.go:549–552  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.ShareProps)

Source from the content-addressed store, hash-verified

547
548// SetProps sets the "props" field.
549func (suo *ShareUpdateOne) SetProps(tp *types.ShareProps) *ShareUpdateOne {
550 suo.mutation.SetProps(tp)
551 return suo
552}
553
554// ClearProps clears the value of the "props" field.
555func (suo *ShareUpdateOne) ClearProps() *ShareUpdateOne {

Callers

nothing calls this directly

Calls 1

SetPropsMethod · 0.45

Tested by

no test coverage detected