MCPcopy
hub / github.com/tuna/tunasync / Get

Method Get

manager/db.go:36–36  ·  view source on GitHub ↗
(bucket string, key string)

Source from the content-addressed store, hash-verified

34type kvAdapter interface {
35 InitBucket(bucket string) error
36 Get(bucket string, key string) ([]byte, error)
37 GetAll(bucket string) (map[string][]byte, error)
38 Put(bucket string, key string, value []byte) error
39 Delete(bucket string, key string) error

Callers 14

WorkingDirMethod · 0.65
LogDirMethod · 0.65
LogFileMethod · 0.65
VolumesMethod · 0.65
LogFileMethod · 0.65
GetMethod · 0.65
GetJSONFunction · 0.65
GetMethod · 0.65
TestHTTPServerFunction · 0.65
GetWorkerMethod · 0.65
DeleteWorkerMethod · 0.65
GetMirrorStatusMethod · 0.65

Implementers 4

badgerAdaptermanager/db_badger.go
leveldbAdaptermanager/db_leveldb.go
boltAdaptermanager/db_bolt.go
redisAdaptermanager/db_redis.go

Calls

no outgoing calls

Tested by 1

TestHTTPServerFunction · 0.52