Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dearcode/candy
/ init
Function
init
store/file_test.go:14–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
)
13
14
func
init() {
15
f = newFileDB(
"/tmp/filedb"
)
16
if
err := f.start(); err != nil {
17
panic(err.Error())
18
}
19
}
20
21
func
TestFileDB(t *testing.T) {
22
dat := []byte(
"xxxxxxxzzzzzzzzzzzAAAAAAABBBBBBBBB"
)
Callers
nothing calls this directly
Calls
3
newFileDB
Function · 0.85
start
Method · 0.45
Error
Method · 0.45
Tested by
no test coverage detected