MCPcopy
hub / github.com/canopy-network/canopy / testDBDelete

Function testDBDelete

store/fuzz_test.go:156–158  ·  view source on GitHub ↗
(t *testing.T, db lib.WStoreI, k []byte)

Source from the content-addressed store, hash-verified

154}
155
156func testDBDelete(t *testing.T, db lib.WStoreI, k []byte) {
157 require.NoError(t, db.Delete(lib.JoinLenPrefix(k)))
158}
159
160func testDBGet(t *testing.T, db lib.RWStoreI, k []byte) (value []byte) {
161 value, err := db.Get(lib.JoinLenPrefix(k))

Callers 1

doRandomOperationFunction · 0.85

Calls 2

JoinLenPrefixFunction · 0.92
DeleteMethod · 0.65

Tested by

no test coverage detected