MCPcopy Index your code
hub / github.com/ByteStorage/FlyDB / initStreamDB

Function initStreamDB

structure/stream_test.go:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func initStreamDB() (*StreamStructure, *config.Options) {
11 opts := config.DefaultOptions
12 dir, _ := os.MkdirTemp("", "TestStreamStructure_Get")
13 opts.DirPath = dir
14 stc, _ := NewStreamStructure(opts)
15 return stc, &opts
16}
17
18func TestStreamStructure_XRead(t *testing.T) {
19 stc, _ := initStreamDB()

Callers 7

TestStreamStructure_XDelFunction · 0.85
TestStreamStructure_XLenFunction · 0.85

Calls 1

NewStreamStructureFunction · 0.85

Tested by

no test coverage detected