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

Method SetNillableFileChildren

ent/file_create.go:113–118  ·  view source on GitHub ↗

SetNillableFileChildren sets the "file_children" field if the given value is not nil.

(i *int)

Source from the content-addressed store, hash-verified

111
112// SetNillableFileChildren sets the "file_children" field if the given value is not nil.
113func (fc *FileCreate) SetNillableFileChildren(i *int) *FileCreate {
114 if i != nil {
115 fc.SetFileChildren(*i)
116 }
117 return fc
118}
119
120// SetIsSymbolic sets the "is_symbolic" field.
121func (fc *FileCreate) SetIsSymbolic(b bool) *FileCreate {

Callers

nothing calls this directly

Calls 1

SetFileChildrenMethod · 0.95

Tested by

no test coverage detected