MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / SlaveKey

Method SlaveKey

ent/mutation.go:7534–7540  ·  view source on GitHub ↗

SlaveKey returns the value of the "slave_key" field in the mutation.

()

Source from the content-addressed store, hash-verified

7532
7533// SlaveKey returns the value of the "slave_key" field in the mutation.
7534func (m *NodeMutation) SlaveKey() (r string, exists bool) {
7535 v := m.slave_key
7536 if v == nil {
7537 return
7538 }
7539 return *v, true
7540}
7541
7542// OldSlaveKey returns the old "slave_key" field's value of the Node entity.
7543// If the Node object wasn't provided to the builder, the object is fetched from the database.

Callers 4

FieldMethod · 0.95
createSpecMethod · 0.80
sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected