Skip to main content

session_picker_items

Function session_picker_items 

Source
pub fn session_picker_items(dir: &Path) -> Result<Vec<SelectItem>, Error>
Expand description

Collect SelectItem entries from session listing in the given directory.

Each entry’s id is the session id, display is the cwd (truncated if needed), and metadata is the timestamp.