MCPcopy Index your code
hub / github.com/cnf/structhash / Sha1

Function Sha1

structhash.go:59–62  ·  view source on GitHub ↗

Sha1 takes a data structure and returns its sha1 hash. This is a shorthand for sha1.Sum(Dump(c, version)).

(c interface{}, version int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

DumpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…