MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / WithMeta

Method WithMeta

internal/core/entry.go:243–246  ·  view source on GitHub ↗

WithMeta set Meta to Entry

(meta *MetaData)

Source from the content-addressed store, hash-verified

241
242// WithMeta set Meta to Entry
243func (e *Entry) WithMeta(meta *MetaData) *Entry {
244 e.Meta = meta
245 return e
246}
247
248// GetTxIDBytes return the bytes of TxID
249func (e *Entry) GetTxIDBytes() []byte {

Callers 5

loadHintFileMethod · 0.95
Test_readEntryFunction · 0.80
putMethod · 0.80
Test_EntryCreationFunction · 0.80
Test_EntryMostFunctionsFunction · 0.80

Calls

no outgoing calls

Tested by 3

Test_readEntryFunction · 0.64
Test_EntryCreationFunction · 0.64
Test_EntryMostFunctionsFunction · 0.64