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

Method ResetEdge

ent/mutation.go:11422–11424  ·  view source on GitHub ↗

ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.

(name string)

Source from the content-addressed store, hash-verified

11420// ResetEdge resets all changes to the edge with the given name in this mutation.
11421// It returns an error if the edge is not defined in the schema.
11422func (m *SettingMutation) ResetEdge(name string) error {
11423 return fmt.Errorf("unknown Setting edge %s", name)
11424}
11425
11426// ShareMutation represents an operation that mutates the Share nodes in the graph.
11427type ShareMutation struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected