MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Put

Method Put

database/database.go:29–29  ·  view source on GitHub ↗
(key []byte, value []byte)

Source from the content-addressed store, hash-verified

27// Writer provides KV update/delete calls
28type Writer interface {
29 Put(key []byte, value []byte) error
30 Delete(key []byte) error
31}
32

Callers 15

PutMethod · 0.65
PutMethod · 0.65
PutMethod · 0.65
TestRecoverDBMethod · 0.65
TestGetPutMethod · 0.65
TestTemporaryDeleteMethod · 0.65
TestDeleteMethod · 0.65
TestByPrefixMethod · 0.65
TestHasPrefixMethod · 0.65
TestBatchMethod · 0.65
TestCompactDBMethod · 0.65
TestReOpenMethod · 0.65

Implementers 6

storagedatabase/goleveldb/storage.go
transactiondatabase/goleveldb/transaction.go
batchdatabase/goleveldb/batch.go
EtcDStoragedatabase/etcddb/storage.go
transactiondatabase/etcddb/transaction.go
EtcDBatchdatabase/etcddb/batch.go

Calls

no outgoing calls

Tested by 15

TestRecoverDBMethod · 0.52
TestGetPutMethod · 0.52
TestTemporaryDeleteMethod · 0.52
TestDeleteMethod · 0.52
TestByPrefixMethod · 0.52
TestHasPrefixMethod · 0.52
TestBatchMethod · 0.52
TestCompactDBMethod · 0.52
TestReOpenMethod · 0.52
TestGetPutMethod · 0.52
TestDeleteMethod · 0.52
TestByPrefixMethod · 0.52