MCPcopy Index your code
hub / github.com/perkeep/perkeep / Get

Method Get

pkg/sorted/sqlkv/sqlkv.go:200–206  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

198}
199
200func (kv *KeyValue) Get(key string) (value string, err error) {
201 if kv.Gate != nil {
202 kv.Gate.Start()
203 defer kv.Gate.Done()
204 }
205 return get(kv, kv.DB, key)
206}
207
208func (kv *KeyValue) Set(key, value string) error {
209 if err := sorted.CheckSizes(key, value); err != nil {

Callers

nothing calls this directly

Implementers 6

memKeyspkg/sorted/mem.go
kvispkg/sorted/kvfile/kvfile.go
keyValuepkg/sorted/mongo/mongokv.go
KeyValuepkg/sorted/buffer/buffer.go
KeyValuepkg/sorted/sqlkv/sqlkv.go
kvispkg/sorted/leveldb/leveldb.go

Calls 2

getFunction · 0.85
StartMethod · 0.65

Tested by

no test coverage detected