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

Function Sha256

structhash.go:66–69  ·  view source on GitHub ↗

Sha256 takes a data structure and returns its SHA 256 hash. This is a shorthand for sha256.Sum256(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…