Documentation
¶
Index ¶
Constants ¶
View Source
const ( CommitInfoKeyFmt = "s/%d" // s/<version> LatestVersionKey = "s/latest" )
Variables ¶
View Source
var ErrStoreNotFound = errors.New("store not found")
Functions ¶
This section is empty.
Types ¶
type ReadonlyStore ¶
func NewReadonlyStore ¶
func NewReadonlyStore(dbPath string) (*ReadonlyStore, error)
func (*ReadonlyStore) CommitInfoByName ¶
func (rs *ReadonlyStore) CommitInfoByName() map[string]*store.CommitInfo
func (*ReadonlyStore) LatestTree ¶
func (rs *ReadonlyStore) LatestTree(storeKey string) (db.DB, *iavl.MutableTree, error)
Click to show internal directories.
Click to hide internal directories.