Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/containerd/release-tool
/ Put
Method
Put
cache.go:50–52 ·
view source on GitHub ↗
(key string, value []byte)
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(dc *dirCache) Put(key string, value []byte) error {
51
return
os.WriteFile(dc.path(key), value, 0755)
52
}
53
54
func
(dc *dirCache) path(key string) string {
55
h := fnv.New128a()
Callers
nothing calls this directly
Calls
1
path
Method · 0.95
Tested by
no test coverage detected