MCPcopy
hub / github.com/wavetermdev/waveterm / containsFile

Function containsFile

pkg/filestore/blockstore_test.go:144–151  ·  view source on GitHub ↗
(arr []*WaveFile, name string)

Source from the content-addressed store, hash-verified

142}
143
144func containsFile(arr []*WaveFile, name string) bool {
145 for _, f := range arr {
146 if f.Name == name {
147 return true
148 }
149 }
150 return false
151}
152
153func TestDelete(t *testing.T) {
154 initDb(t)

Callers 1

TestDeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected