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

Function Md5

structhash.go:52–55  ·  view source on GitHub ↗

Md5 takes a data structure and returns its md5 hash. This is a shorthand for md5.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 3

HashFunction · 0.85
TestHashFunction · 0.85
TestUnexportedFieldsFunction · 0.85

Calls 1

DumpFunction · 0.85

Tested by 2

TestHashFunction · 0.68
TestUnexportedFieldsFunction · 0.68