MCPcopy Index your code
hub / github.com/driusan/dgit / HashReader

Function HashReader

git/hashobject.go:32–43  ·  view source on GitHub ↗

Hashes the data of r with object type t, and returns the hash, and the data that was read from r.

(t string, r io.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

HashObjectFunction · 0.92
TestHashObjectFunction · 0.85
HashSliceFunction · 0.85
HashFileFunction · 0.85
hashStringFunction · 0.85

Calls 2

Sha1FromSliceFunction · 0.85
ReadAllMethod · 0.80

Tested by 2

TestHashObjectFunction · 0.68
hashStringFunction · 0.68