MCPcopy
hub / github.com/cloudreve/cloudreve / MetadataIDs

Method MetadataIDs

ent/mutation.go:3825–3830  ·  view source on GitHub ↗

MetadataIDs returns the "metadata" edge IDs in the mutation.

()

Source from the content-addressed store, hash-verified

3823
3824// MetadataIDs returns the "metadata" edge IDs in the mutation.
3825func (m *FileMutation) MetadataIDs() (ids []int) {
3826 for id := range m.metadata {
3827 ids = append(ids, id)
3828 }
3829 return
3830}
3831
3832// ResetMetadata resets all changes to the "metadata" edge.
3833func (m *FileMutation) ResetMetadata() {

Callers 3

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80
createSpecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected