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

Method SetRepository

ent/mutation.go:366–368  ·  view source on GitHub ↗

SetRepository sets the "repository" field.

(d dbpackage.Repository)

Source from the content-addressed store, hash-verified

364// ResetSkipReason resets all changes to the "skip_reason" field.
365func (m *DBPackageMutation) ResetSkipReason() {
366 m.skip_reason = nil
367 delete(m.clearedFields, dbpackage.FieldSkipReason)
368}
369
370// SetRepository sets the "repository" field.
371func (m *DBPackageMutation) SetRepository(d dbpackage.Repository) {

Callers 2

SetFieldMethod · 0.95
toDBPackageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected