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

Method FileIDs

ent/mutation.go:2392–2397  ·  view source on GitHub ↗

FileIDs returns the "file" edge IDs in the mutation.

()

Source from the content-addressed store, hash-verified

2390
2391// FileIDs returns the "file" edge IDs in the mutation.
2392func (m *EntityMutation) FileIDs() (ids []int) {
2393 for id := range m.file {
2394 ids = append(ids, id)
2395 }
2396 return
2397}
2398
2399// ResetFile resets all changes to the "file" edge.
2400func (m *EntityMutation) ResetFile() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected