MCPcopy
hub / github.com/cloudreve/cloudreve / SetName

Method SetName

ent/mutation.go:3244–3246  ·  view source on GitHub ↗

SetName sets the "name" field.

(s string)

Source from the content-addressed store, hash-verified

3242
3243// SetName sets the "name" field.
3244func (m *FileMutation) SetName(s string) {
3245 m.name = &s
3246}
3247
3248// Name returns the value of the "name" field in the mutation.
3249func (m *FileMutation) Name() (r string, exists bool) {

Callers 15

SetFieldMethod · 0.95
migrateWebdavMethod · 0.45
migrateFoldersMethod · 0.45
migrateFileMethod · 0.45
migrateNodeMethod · 0.45
migrateGroupMethod · 0.45
migrateSettingsMethod · 0.45
migrateDirectLinkMethod · 0.45
migratePolicyMethod · 0.45
UpdateMethod · 0.45
CreateDirectLinkMethod · 0.45
SoftDeleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected