MCPcopy
hub / github.com/perkeep/perkeep / memKeys

Struct memKeys

pkg/sorted/mem.go:43–46  ·  view source on GitHub ↗

memKeys is a naive in-memory implementation of KeyValue for test & development purposes only.

Source from the content-addressed store, hash-verified

41// memKeys is a naive in-memory implementation of KeyValue for test & development
42// purposes only.
43type memKeys struct {
44 mu sync.Mutex // guards db
45 db *memdb.DB
46}
47
48func (mk *memKeys) Wipe() error {
49 mk.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected