Skip to main content

preen_core/
lib.rs

1use std::path::PathBuf;
2
3#[derive(Debug)]
4pub enum Command {
5    StartScan { path: PathBuf },
6    StartClean,
7    Quit,
8}
9
10#[derive(Debug)]
11pub enum Event {
12    ScanProgress(f32),
13    ScanCompleted,
14    Error(String),
15}
16
17pub trait FileSystemPort {
18    fn find_cleanable_items(&self) -> Vec<String>;
19}