Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-task/task
/ Read
Method
Read
taskfile/node_cache.go:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(node *CacheNode) Read() ([]byte, error) {
28
return
os.ReadFile(node.Location())
29
}
30
31
func
(node *CacheNode) Write(data []byte) error {
32
if
err := node.CreateCacheDir(); err != nil {
Callers
1
readRemoteNodeContent
Method · 0.95
Calls
1
Location
Method · 0.95
Tested by
no test coverage detected