Skip to main content

list_sessions

Function list_sessions 

Source
pub fn list_sessions(dir: &Path) -> Result<Vec<SessionInfo>, SessionCliError>
Expand description

List all sessions in the given directory.

Returns session metadata parsed from the first line (header) of each .jsonl file. Corrupt or unreadable files are silently skipped.