MCPcopy
hub / github.com/cloudreve/cloudreve / SetProps

Method SetProps

ent/mutation.go:3527–3529  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.FileProps)

Source from the content-addressed store, hash-verified

3525
3526// SetProps sets the "props" field.
3527func (m *FileMutation) SetProps(tp *types.FileProps) {
3528 m.props = &tp
3529}
3530
3531// Props returns the value of the "props" field in the mutation.
3532func (m *FileMutation) Props() (r *types.FileProps, exists bool) {

Callers 12

SetFieldMethod · 0.95
masterkey.goFile · 0.45
migrateWebdavMethod · 0.45
UpdatePropsMethod · 0.45
DeleteMethod · 0.45
CopyMethod · 0.45
CreateEntityMethod · 0.45
UpsertMethod · 0.45
CreateMethod · 0.45
UpdateMethod · 0.45
migrateOAuthClientiOSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected