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

Method CreateCacheDir

taskfile/node_cache.go:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (node *CacheNode) CreateCacheDir() error {
70 if err := os.MkdirAll(node.dir, 0o755); err != nil {
71 return err
72 }
73 return nil
74}
75
76func (node *CacheNode) ChecksumPrompt(checksum string) string {
77 cachedChecksum := node.ReadChecksum()

Callers 3

WriteMethod · 0.95
WriteTimestampMethod · 0.95
WriteChecksumMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected