Skip to main content

Module browser

Module browser 

Source

Structs§

SessionFile

Functions§

discover_all
Scan the three known session-storage locations and return all discovered session files, sorted by modified time (newest first).
format_relative_time
Format a duration-since-modified in short relative form.
prompt_user_to_choose
Print a numbered list of session files and read the user’s choice from stdin. Returns Ok(None) on q/empty/Ctrl-D, Ok(Some(path)) on valid numeric input, or bubbles up IO errors.