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

Method AddReferenceCount

ent/entity_update.go:613–616  ·  view source on GitHub ↗

AddReferenceCount adds i to the "reference_count" field.

(i int)

Source from the content-addressed store, hash-verified

611
612// AddReferenceCount adds i to the "reference_count" field.
613func (euo *EntityUpdateOne) AddReferenceCount(i int) *EntityUpdateOne {
614 euo.mutation.AddReferenceCount(i)
615 return euo
616}
617
618// SetStoragePolicyEntities sets the "storage_policy_entities" field.
619func (euo *EntityUpdateOne) SetStoragePolicyEntities(i int) *EntityUpdateOne {

Callers

nothing calls this directly

Calls 1

AddReferenceCountMethod · 0.45

Tested by

no test coverage detected