MCPcopy
hub / github.com/google/go-cmp / SetSource

Method SetSource

cmp/internal/teststructs/project4.go:74–74  ·  view source on GitHub ↗
(x string)

Source from the content-addressed store, hash-verified

72func (p Cartel) Poisons() []*Poison { return p.poisons }
73
74func (p *Cartel) SetSource(x string) { p.source = x }
75func (p *Cartel) SetCreationDate(x time.Time) { p.creationDate = x }
76func (p *Cartel) SetBoss(x string) { p.boss = x }
77func (p *Cartel) SetLastCrimeDate(x time.Time) { p.lastCrimeDate = x }

Callers 1

project4TestsFunction · 0.95

Calls

no outgoing calls

Tested by 1

project4TestsFunction · 0.76