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

Method ResetFile

ent/mutation.go:6801–6804  ·  view source on GitHub ↗

ResetFile resets all changes to the "file" edge.

()

Source from the content-addressed store, hash-verified

6799
6800// ResetFile resets all changes to the "file" edge.
6801func (m *MetadataMutation) ResetFile() {
6802 m.file = nil
6803 m.clearedfile = false
6804}
6805
6806// Where appends a list predicates to the MetadataMutation builder.
6807func (m *MetadataMutation) Where(ps ...predicate.Metadata) {

Callers 1

ResetEdgeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected