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

Method Delete

store/store.go:297–297  ·  view source on GitHub ↗

Delete() removes the key-value pair from both the LatestStateStore, HistoricalStateStore, and CommitStore

(k []byte)

Source from the content-addressed store, hash-verified

295
296// Delete() removes the key-value pair from both the LatestStateStore, HistoricalStateStore, and CommitStore
297func (s *Store) Delete(k []byte) lib.ErrorI { return s.ss.Delete(k) }
298
299// Get() returns the value bytes blob from the State Store
300func (s *Store) Get(key []byte) ([]byte, lib.ErrorI) { return s.ss.Get(key) }

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected