Skip to main content

list_sessions

Function list_sessions 

Source
pub fn list_sessions(project_root: &Path) -> Result<Vec<Manifest>>
Expand description

List available backup sessions, most recent first.

Session directories without a readable manifest.json (or with corrupt JSON) are omitted. This helper does not print. CLI undo --list puts listing warnings on the JSON envelope or a --jsonl trailer.