MCPcopy Index your code
hub / github.com/go-task/task / checksum

Function checksum

taskfile/node_cache.go:109–113  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

107}
108
109func checksum(b []byte) string {
110 h := sha256.New()
111 h.Write(b)
112 return fmt.Sprintf("%x", h.Sum(nil))
113}

Callers 4

readNodeContentMethod · 0.85
readRemoteNodeContentMethod · 0.85
CacheKeyMethod · 0.85
CacheKeyMethod · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…