MCPcopy
hub / github.com/perkeep/perkeep / ValueBytes

Method ValueBytes

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

ValueBytes returns the value as bytes. The returned bytes should not be written and are invalid after the next call to Next or Close. TODO(bradfitz): rename this and change it to return a mem.RO instead?

()

Source from the content-addressed store, hash-verified

137 // TODO(bradfitz): rename this and change it to return a
138 // mem.RO instead?
139 ValueBytes() []byte
140
141 // Close closes the iterator and returns any accumulated error. Exhausting
142 // all the key/value pairs in a table is not considered to be an error.

Callers 7

EnumerateBlobsMethod · 0.65
OpenWholeRefMethod · 0.65
checkLargeIntegrityMethod · 0.65
EnumerateBlobsMethod · 0.65
ValueBytesMethod · 0.65
testEnumerateFunction · 0.65
scanPrefixMethod · 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

no test coverage detected