MCPcopy Index your code
hub / github.com/perkeep/perkeep / HashMatches

Method HashMatches

pkg/blob/ref.go:57–57  ·  view source on GitHub ↗
(h hash.Hash)

Source from the content-addressed store, hash-verified

55func (sr SizedRef) Valid() bool { return sr.Ref.Valid() }
56
57func (sr SizedRef) HashMatches(h hash.Hash) bool { return sr.Ref.HashMatches(h) }
58
59func (sr SizedRef) String() string {
60 return fmt.Sprintf("[%s; %d bytes]", sr.Ref.String(), sr.Size)

Callers

nothing calls this directly

Calls 1

HashMatchesMethod · 0.45

Tested by

no test coverage detected