MCPcopy
hub / github.com/cloudreve/cloudreve / SetFileChildren

Method SetFileChildren

ent/mutation.go:3442–3444  ·  view source on GitHub ↗

SetFileChildren sets the "file_children" field.

(i int)

Source from the content-addressed store, hash-verified

3440
3441// SetFileChildren sets the "file_children" field.
3442func (m *FileMutation) SetFileChildren(i int) {
3443 m.parent = &i
3444}
3445
3446// FileChildren returns the value of the "file_children" field in the mutation.
3447func (m *FileMutation) FileChildren() (r int, exists bool) {

Callers 2

SetFieldMethod · 0.95
migrateFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected