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

Method filePath

taskfile/node_cache.go:105–107  ·  view source on GitHub ↗
(suffix string)

Source from the content-addressed store, hash-verified

103}
104
105func (node *CacheNode) filePath(suffix string) string {
106 return filepath.Join(node.dir, fmt.Sprintf("%s.%s", node.source.CacheKey(), suffix))
107}
108
109func checksum(b []byte) string {
110 h := sha256.New()

Callers 3

LocationMethod · 0.95
checksumPathMethod · 0.95
timestampPathMethod · 0.95

Calls 1

CacheKeyMethod · 0.65

Tested by

no test coverage detected