sys-compare/src/createmode.rs

20 lines
343 B
Rust
Raw Normal View History

2024-03-18 21:47:21 +00:00
use Fasching::snapshot::Snapshot;
use crate::syscompare::Comparer;
2024-03-18 21:51:52 +00:00
pub struct CreateMode {
2024-03-18 21:47:21 +00:00
path: String,
snapshot: Snapshot
}
impl CreateMode {
2024-03-18 21:51:52 +00:00
pub fn new(path: &String) -> CreateMode {
2024-03-18 21:47:21 +00:00
CreateMode { path: "".to_string(), snapshot: Default::default() }
}
}
impl Comparer for CreateMode {
fn run(&self) {
}
}