Scoop API

scoop:scoop.readline:0.1.0

scoop.readline.history

API

  • class FileHistory

    File history compatible with rustyline V1/V2 and coordinated by advisory file locks.

  • interface History

    Pluggable history storage and navigation used by the editor.

  • class MemoryHistory

    Bounded, in-memory history with configurable consecutive-duplicate and space filtering.

  • interface PersistentHistory

    Optional persistence capability; memory-only backends need not implement it.

  • enum SearchDirection

    Direction of an inclusive history search.

  • struct SearchResult

    A stable entry and its history index and Unicode-scalar match position.