MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / ResetRepository

Method ResetRepository

ent/mutation.go:397–399  ·  view source on GitHub ↗

ResetRepository resets all changes to the "repository" field.

()

Source from the content-addressed store, hash-verified

395 if err != nil {
396 return v, fmt.Errorf("querying old value for OldRepository: %w", err)
397 }
398 return oldValue.Repository, nil
399}
400
401// ResetRepository resets all changes to the "repository" field.
402func (m *DBPackageMutation) ResetRepository() {

Callers 1

ResetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected