Skip to main content

sort_browser

Function sort_browser 

Source
pub fn sort_browser(dirs: &mut [(String, usize)], how: Option<&str>)
Expand description

A path with a leading ~ expanded, as mutt does everywhere it takes one. mutt’s $sort_browser over browser entries of (spec, new count): alpha (the default), count / unread (by the count), date (by the maildir’s change time; IMAP folders have none and sort first), unsorted (as given), with a “reverse-” prefix flipping any. size reads as alpha: a maildir’s size is not worth a walk.