MCPcopy Create free account
hub / github.com/celer-pkg/celer / computeHash

Function computeHash

pkgcache/cache_dev_artifact_test.go:51–53  ·  view source on GitHub ↗
(meta string)

Source from the content-addressed store, hash-verified

49}
50
51func computeHash(meta string) string {
52 return fmt.Sprintf("%x", sha256.Sum256([]byte(meta)))
53}
54
55// ---- Store tests ----
56

Calls 1

SprintfMethod · 0.80

Tested by

no test coverage detected