rust_tree/rust_tree/
options.rs

1use glob::Pattern;
2
3pub struct TreeOptions {
4    pub all_files: bool,
5    pub level: Option<u32>,
6    pub full_path: bool,
7    pub dir_only: bool,
8    pub no_indent: bool,
9    pub print_size: bool,
10    pub human_readable: bool,
11    pub pattern_glob: Option<Pattern>,
12    pub exclude_pattern: Option<Pattern>,
13    pub color: bool,
14    pub no_color: bool,
15    pub ascii: bool,
16    pub sort_by_time: bool,
17    pub reverse: bool,
18    pub print_mod_date: bool,
19    pub output_file: Option<String>,
20    pub file_limit: Option<u64>,
21    pub dirs_first: bool,
22    pub classify: bool,
23    pub no_report: bool,
24    pub print_permissions: bool,
25    pub from_file: bool,
26}