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

Method SetProps

ent/mutation.go:11954–11956  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.ShareProps)

Source from the content-addressed store, hash-verified

11952
11953// SetProps sets the "props" field.
11954func (m *ShareMutation) SetProps(tp *types.ShareProps) {
11955 m.props = &tp
11956}
11957
11958// Props returns the value of the "props" field in the mutation.
11959func (m *ShareMutation) Props() (r *types.ShareProps, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected