MCPcopy
hub / github.com/canopy-network/canopy / Get

Method Get

store/store.go:300–300  ·  view source on GitHub ↗

Get() returns the value bytes blob from the State Store

(key []byte)

Source from the content-addressed store, hash-verified

298
299// Get() returns the value bytes blob from the State Store
300func (s *Store) Get(key []byte) ([]byte, lib.ErrorI) { return s.ss.Get(key) }
301
302// Iterator() returns an object for scanning the StateStore starting from the provided prefix.
303// The iterator allows forward traversal of key-value pairs that match the prefix.

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected