MCPcopy
hub / github.com/cloudreve/cloudreve / SetOwnerID

Method SetOwnerID

ent/mutation.go:3280–3282  ·  view source on GitHub ↗

SetOwnerID sets the "owner_id" field.

(i int)

Source from the content-addressed store, hash-verified

3278
3279// SetOwnerID sets the "owner_id" field.
3280func (m *FileMutation) SetOwnerID(i int) {
3281 m.owner = &i
3282}
3283
3284// OwnerID returns the value of the "owner_id" field in the mutation.
3285func (m *FileMutation) OwnerID() (r int, exists bool) {

Callers 8

SetFieldMethod · 0.95
migrateWebdavMethod · 0.45
migrateFoldersMethod · 0.45
migrateFileMethod · 0.45
CopyMethod · 0.45
CreateFileMethod · 0.45
CreateFolderMethod · 0.45
CreateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected