MCPcopy
hub / github.com/perkeep/perkeep / Key

Method Key

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

Key returns the key of the current key/value pair. Only valid after a call to Next returns true.

()

Source from the content-addressed store, hash-verified

119 // Key returns the key of the current key/value pair.
120 // Only valid after a call to Next returns true.
121 Key() string
122
123 // KeyBytes returns the key as bytes. The returned bytes
124 // should not be written and are invalid after the next call

Callers 15

EnumerateBlobsMethod · 0.65
EnumerateBlobsMethod · 0.65
EnumerateBlobsMethod · 0.65
TestReindexFunction · 0.65
checkLargeIntegrityMethod · 0.65
EnumerateBlobsMethod · 0.65
ForeachInRangeFunction · 0.65
KeyBytesMethod · 0.65
CommitBatchMethod · 0.65
CommitBatchMethod · 0.65
CommitBatchMethod · 0.65

Implementers 6

memIterpkg/sorted/mem.go
iterpkg/sorted/kvfile/kvfile.go
iterpkg/sorted/mongo/mongokv.go
iterpkg/sorted/buffer/buffer.go
iterpkg/sorted/sqlkv/sqlkv.go
iterpkg/sorted/leveldb/leveldb.go

Calls

no outgoing calls

Tested by 4

TestReindexFunction · 0.52
checkFunction · 0.52
Exp_missingKeyFunction · 0.52
foreachSortedFunction · 0.52