Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
History is a ring buffer for command history strings.
type HistoryFile ¶
type HistoryFile struct {
*History
// contains filtered or unexported fields
}
HistoryFile stores history entries backed by a file.
func (*HistoryFile) Load ¶
func (hf *HistoryFile) Load() (err error)
Load imports history entries from the file.
func (*HistoryFile) Save ¶
func (hf *HistoryFile) Save() (err error)
Save writes history entries to the file.
Click to show internal directories.
Click to hide internal directories.