MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / Get

Method Get

store/engine/raft/node.go:403–405  ·  view source on GitHub ↗
(_ context.Context, key string)

Source from the content-addressed store, hash-verified

401}
402
403func (n *Node) Get(_ context.Context, key string) ([]byte, error) {
404 return n.dataStore.Get(key)
405}
406
407func (n *Node) Exists(_ context.Context, key string) (bool, error) {
408 _, err := n.dataStore.Get(key)

Callers

nothing calls this directly

Implementers 1

ClusterNodestore/cluster_node.go

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected