MCPcopy
hub / github.com/perkeep/perkeep / Delete

Method Delete

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

Delete deletes keys. Deleting a non-existent key does not return an error.

(key string)

Source from the content-addressed store, hash-verified

48
49 // Delete deletes keys. Deleting a non-existent key does not return an error.
50 Delete(key string) error
51
52 BeginBatch() BatchMutation
53 CommitBatch(b BatchMutation) error

Callers 14

DeleteMethod · 0.65
CommitBatchMethod · 0.65
DeleteMethod · 0.65
CommitBatchMethod · 0.65
TestBufferFunction · 0.65
FlushMethod · 0.65
DeleteMethod · 0.65
CommitBatchMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65
TestSortedFunction · 0.65
testDeleteNotFoundBatchFunction · 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 2

TestBufferFunction · 0.52
TestSortedFunction · 0.52