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

Method RemovedEntitiesIDs

ent/mutation.go:13491–13496  ·  view source on GitHub ↗

RemovedEntities returns the removed IDs of the "entities" edge to the Entity entity.

()

Source from the content-addressed store, hash-verified

13489
13490// RemovedEntities returns the removed IDs of the "entities" edge to the Entity entity.
13491func (m *StoragePolicyMutation) RemovedEntitiesIDs() (ids []int) {
13492 for id := range m.removedentities {
13493 ids = append(ids, id)
13494 }
13495 return
13496}
13497
13498// EntitiesIDs returns the "entities" edge IDs in the mutation.
13499func (m *StoragePolicyMutation) EntitiesIDs() (ids []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected