MCPcopy Create free account
hub / github.com/perkeep/perkeep / Find

Method Find

pkg/sorted/sqlkv/sqlkv.go:126–135  ·  view source on GitHub ↗
(start, end string)

Source from the content-addressed store, hash-verified

124}
125
126func (b *batchTx) Find(start, end string) sorted.Iterator {
127 if b.err != nil {
128 return &iter{
129 kv: b.kv,
130 closeCheck: leak.NewChecker(),
131 err: b.err,
132 }
133 }
134 return find(b.kv, b.tx, start, end)
135}
136
137func (b *batchTx) Get(key string) (value string, err error) {
138 if b.err != nil {

Callers

nothing calls this directly

Calls 2

NewCheckerFunction · 0.92
findFunction · 0.85

Tested by

no test coverage detected