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

Method SetType

ent/entity_create.go:73–76  ·  view source on GitHub ↗

SetType sets the "type" field.

(i int)

Source from the content-addressed store, hash-verified

71
72// SetType sets the "type" field.
73func (ec *EntityCreate) SetType(i int) *EntityCreate {
74 ec.mutation.SetType(i)
75 return ec
76}
77
78// SetSource sets the "source" field.
79func (ec *EntityCreate) SetSource(s string) *EntityCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected