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

Method SetType

ent/file_create.go:61–64  ·  view source on GitHub ↗

SetType sets the "type" field.

(i int)

Source from the content-addressed store, hash-verified

59
60// SetType sets the "type" field.
61func (fc *FileCreate) SetType(i int) *FileCreate {
62 fc.mutation.SetType(i)
63 return fc
64}
65
66// SetName sets the "name" field.
67func (fc *FileCreate) SetName(s string) *FileCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected