broot 1.6.2

A new file manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/// A sort key.
/// A non None sort mode implies only one level of the tree
/// is displayed.
/// When in None mode, paths are alpha sorted
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Sort {
    None,
    Count,
    Date,
    Size,
}

impl Sort {
    pub fn is_some(self) -> bool {
        !matches!(self, Sort::None)
    }
}