MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / init

Function init

examples/iterator/main.go:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func init() {
14 db, _ = nutsdb.Open(
15 nutsdb.DefaultOptions,
16 nutsdb.WithDir("/tmp/nutsdbexample/example_iterator"),
17 )
18}
19
20func main() {
21 tx, err := db.Begin(true)

Callers

nothing calls this directly

Calls 2

OpenFunction · 0.92
WithDirFunction · 0.92

Tested by

no test coverage detected