MCPcopy
hub / github.com/perkeep/perkeep / Hash

Method Hash

internal/hashutil/hashutil.go:61–63  ·  view source on GitHub ↗

Hash returns the current hash sum.

()

Source from the content-addressed store, hash-verified

59
60// Hash returns the current hash sum.
61func (t *TrackDigestReader) Hash() hash.Hash {
62 return t.h
63}
64
65// LegacySHA1Hash returns the current legacy SHA-1 hash sum.
66func (t *TrackDigestReader) LegacySHA1Hash() hash.Hash {

Callers 2

wholeRefMethod · 0.95
wholeFileDigestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected