MCPcopy 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
14func init() {
15 f = newFileDB("/tmp/filedb")
16 if err := f.start(); err != nil {
17 panic(err.Error())
18 }
19}
20
21func TestFileDB(t *testing.T) {
22 dat := []byte("xxxxxxxzzzzzzzzzzzAAAAAAABBBBBBBBB")

Callers

nothing calls this directly

Calls 3

newFileDBFunction · 0.85
startMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected