MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestMetaFile_RemoveAll

Function TestMetaFile_RemoveAll

internal/utils/bfs/meta_file_test.go:187–196  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

185}
186
187func TestMetaFile_RemoveAll(t *testing.T) {
188 mFile, err := bfs.OpenMetaFile("testdata/test.m", &sync.RWMutex{})
189 if err != nil {
190 t.Fatal(err)
191 }
192 err = mFile.RemoveAll()
193 if err != nil {
194 t.Fatal(err)
195 }
196}

Callers

nothing calls this directly

Calls 2

OpenMetaFileFunction · 0.92
RemoveAllMethod · 0.45

Tested by

no test coverage detected