preen-os 0.1.0

Operating System abstraction layer for Preen, implementing platform-specific logic.
Documentation
1
2
3
4
5
6
7
8
use preen_core::FileSystemPort;
pub struct DummyAdapter;

impl FileSystemPort for DummyAdapter {
    fn find_cleanable_items(&self) -> Vec<String> {
        vec!["/tmp/dummy_cache".to_string()]
    }
}