MCPcopy
hub / github.com/perkeep/perkeep / Get

Method Get

pkg/sorted/kv.go:45–45  ·  view source on GitHub ↗

Get gets the value for the given key. It returns ErrNotFound if the DB does not contain the key.

(key string)

Source from the content-addressed store, hash-verified

43 // Get gets the value for the given key. It returns ErrNotFound if the DB
44 // does not contain the key.
45 Get(key string) (string, error)
46
47 Set(key, value string) error
48

Callers 15

UploadMethod · 0.65
FileHasContentsMethod · 0.65
discoveryRespMethod · 0.65
RedirectStateMethod · 0.65
doMethod · 0.65
importTweetMethod · 0.65
ServeCallbackMethod · 0.65
urlFileRefMethod · 0.65
updatePhotoMethod · 0.65
findExistingPermanodeFunction · 0.65

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

no outgoing calls

Tested by 15

testServeBlobContentsFunction · 0.52
TestReindexFunction · 0.52
testPackFunction · 0.52
TestInternalHandlerFunction · 0.52
TestSortedFunction · 0.52
testOutOfOrderIndexingFunction · 0.52
TestFixMissingWholerefFunction · 0.52
testLoginRequestFunction · 0.52
TestSignRequestFunction · 0.52