cover-files 0.1.24

A simple Rust tool for syncing directories with change detection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub struct CleanData {
    pub keep_last: Option<u32>,
    pub older_than: Option<u32>,
    pub dry_run: bool,
}

impl CleanData {
    pub fn clean_output(&self) {
        println!("{}", self.keep_last.unwrap());
        println!("{}", self.older_than.unwrap());
        println!("{}", self.dry_run);
    }

    pub fn clean_options(&self) {
        self.clean_output();
    }
}