pub fn list(dir: &Path, cwd: Option<&Path>) -> Vec<SessionSummary>
Sessions in dir, latest activity first, only those from cwd when given.
dir
cwd