Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rodrigo-brito/gocity
/ NewCache
Function
NewCache
lib/cache.go:15–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
func
NewCache() Cache {
16
return
&cache{
17
client: ccache.New(ccache.Configure()),
18
}
19
}
20
21
type
cache
struct
{
22
client *ccache.Cache
Callers
2
main
Function · 0.92
TestCache
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestCache
Function · 0.68