Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEndOfHistory = errors.New("end of history")
Functions ¶
Types ¶
type Fuser ¶
Fuser provides a unified view into a shared storage-backed command history and per-session history.
func (*Fuser) FastForward ¶
func (*Fuser) SessionCmds ¶
type List ¶
List is a list-like value that provides access to history in the API backend. It is used in the $edit:history variable.
type Walker ¶
type Walker struct {
// contains filtered or unexported fields
}
Walker is used for walking through history entries with a given (possibly empty) prefix, skipping duplicates entries.
func (*Walker) CurrentCmd ¶
CurrentSeq returns the content of the current entry.
func (*Walker) CurrentSeq ¶
CurrentSeq returns the sequence number of the current entry.
Click to show internal directories.
Click to hide internal directories.