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

Method ResetFile

ent/mutation.go:12075–12078  ·  view source on GitHub ↗

ResetFile resets all changes to the "file" edge.

()

Source from the content-addressed store, hash-verified

12073
12074// ResetFile resets all changes to the "file" edge.
12075func (m *ShareMutation) ResetFile() {
12076 m.file = nil
12077 m.clearedfile = false
12078}
12079
12080// Where appends a list predicates to the ShareMutation builder.
12081func (m *ShareMutation) Where(ps ...predicate.Share) {

Callers 1

ResetEdgeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected