Skip to main content

fingerprints

Function fingerprints 

Source
pub fn fingerprints(sessions: &[Session]) -> Vec<String>
Expand description

Per-session change cursors, positionally aligned with sessions — the batched form of Store::fingerprints across every harness, for callers that cache parsed transcripts and want to know which ones to re-read. A cursor is an opaque string that changes whenever the session’s backing data does; an empty string means the backend could not establish one, and a cache should treat the session as changed.

File-backed sessions fall back to the file’s mtime and size when their store reports nothing. Stores are queried once per harness.