history

package
v0.0.102 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelHistoryLine added in v0.0.97

func DelHistoryLine(line string) error

func DeleteFromHistoryFile added in v0.0.96

func DeleteFromHistoryFile(historyFile, delCmd string) error

func GetAllHistoryFiles added in v0.0.97

func GetAllHistoryFiles() ([]string, error)

GetAllHistoryFiles returns all history files, including home history and log files

func GetHistoryLines added in v0.0.97

func GetHistoryLines() ([]string, error)

func GetHomeHistory added in v0.0.96

func GetHomeHistory() (string, error)

func GetHomeHistoryLog added in v0.0.97

func GetHomeHistoryLog() (string, error)

func Handle

func Handle(args []string) error

func ReadLines added in v0.0.96

func ReadLines(path string) ([]string, error)

func ReadNonEmptyLines added in v0.0.97

func ReadNonEmptyLines(path string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL