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

Method ClearServer

ent/node_create.go:685–689  ·  view source on GitHub ↗

ClearServer clears the value of the "server" field.

()

Source from the content-addressed store, hash-verified

683
684// ClearServer clears the value of the "server" field.
685func (u *NodeUpsertOne) ClearServer() *NodeUpsertOne {
686 return u.Update(func(s *NodeUpsert) {
687 s.ClearServer()
688 })
689}
690
691// SetSlaveKey sets the "slave_key" field.
692func (u *NodeUpsertOne) SetSlaveKey(v string) *NodeUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected