MCPcopy
hub / github.com/dgraph-io/badger / removeDir

Function removeDir

db_test.go:2113–2117  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

2111}
2112
2113func removeDir(dir string) {
2114 if err := os.RemoveAll(dir); err != nil {
2115 panic(err)
2116 }
2117}
2118
2119func TestWriteInemory(t *testing.T) {
2120 opt := DefaultOptions("").WithInMemory(true)

Callers 15

TestManifestBasicFunction · 0.85
TestManifestRewriteFunction · 0.85
TestBuildRegistryFunction · 0.85
TestRewriteRegistryFunction · 0.85
TestMismatchFunction · 0.85
TestDropAllManagedFunction · 0.85
TestDropAllFunction · 0.85
TestDropAllTwiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…