Expand description
Opaque pagination cursor for the compact view. A cursor carries the entire query (pattern +
options) plus a keyset resume position, so page N is provably the same search as page 1 (no flag
can be dropped between pages) and a changed result set is detectable via the stored fingerprint.
The encoded blob is parked in the daemon’s crate::pagination store, which hands the caller a
short token to echo back, so the blob itself never has to be small or text-safe. Encoding mirrors
the hand-rolled, length-prefixed style in proto and reuses its exact options bit-layout.
Structs§
- Cursor
- Everything needed to reproduce a query and resume where the previous page ended.
Enums§
- Mode
- The compact output shape a cursor paginates over.
Functions§
- decode
- encode
- fingerprint
- Fold every
(path, lineno)match key into a stable fingerprint; any add/remove/reorder changes it.