history

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(max int) []string

Load returns up to max recent session names, newest first.

func Record

func Record(sessionName string, max int)

Record adds sessionName to the history file, deduplicating and capping at max entries. Errors are silently ignored so history failures never interrupt normal workflow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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