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

Method SetType

ent/node_create.go:83–86  ·  view source on GitHub ↗

SetType sets the "type" field.

(n node.Type)

Source from the content-addressed store, hash-verified

81
82// SetType sets the "type" field.
83func (nc *NodeCreate) SetType(n node.Type) *NodeCreate {
84 nc.mutation.SetType(n)
85 return nc
86}
87
88// SetServer sets the "server" field.
89func (nc *NodeCreate) SetServer(s string) *NodeCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected