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

Method RemovedFilesIDs

ent/mutation.go:13437–13442  ·  view source on GitHub ↗

RemovedFiles returns the removed IDs of the "files" edge to the File entity.

()

Source from the content-addressed store, hash-verified

13435
13436// RemovedFiles returns the removed IDs of the "files" edge to the File entity.
13437func (m *StoragePolicyMutation) RemovedFilesIDs() (ids []int) {
13438 for id := range m.removedfiles {
13439 ids = append(ids, id)
13440 }
13441 return
13442}
13443
13444// FilesIDs returns the "files" edge IDs in the mutation.
13445func (m *StoragePolicyMutation) FilesIDs() (ids []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected