package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# Functions

NewDBStore returns a Store backed by a database with the view of all commands frozen at creation.
NewDedupCursor returns a cursor that skips over all duplicate entries.
NewFaultyInMemoryDB creates a new FaultyInMemoryDB with the given commands.
NewHybridStore returns a store that provides a view of all the commands that exists in the database, plus a in-memory session history.
NewMemStore returns a Store that stores command history in memory.

# Variables

ErrEndOfHistory is returned by Cursor.Get if the cursor is currently over the edge.

# Interfaces

Cursor is used to navigate a Store.
DB is the interface of the storage database.
FaultyInMemoryDB is an in-memory DB implementation that can be injected one-off errors.
Store is an abstract interface for history store.