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

Method timestampPath

taskfile/node_cache.go:101–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (node *CacheNode) timestampPath() string {
102 return node.filePath("timestamp")
103}
104
105func (node *CacheNode) filePath(suffix string) string {
106 return filepath.Join(node.dir, fmt.Sprintf("%s.%s", node.source.CacheKey(), suffix))

Callers 2

ReadTimestampMethod · 0.95
WriteTimestampMethod · 0.95

Calls 1

filePathMethod · 0.95

Tested by

no test coverage detected