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

Method FilesIDs

ent/mutation.go:13445–13450  ·  view source on GitHub ↗

FilesIDs returns the "files" edge IDs in the mutation.

()

Source from the content-addressed store, hash-verified

13443
13444// FilesIDs returns the "files" edge IDs in the mutation.
13445func (m *StoragePolicyMutation) FilesIDs() (ids []int) {
13446 for id := range m.files {
13447 ids = append(ids, id)
13448 }
13449 return
13450}
13451
13452// ResetFiles resets all changes to the "files" edge.
13453func (m *StoragePolicyMutation) ResetFiles() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected