25 lines
515 B
Rust
25 lines
515 B
Rust
![]() |
use Fasching::hasher::HashType::BLAKE3;
|
||
|
use Fasching::snapshot::{Snapshot, SnapshotCompareResult};
|
||
|
use crate::syscompare::Comparer;
|
||
|
|
||
|
pub struct CompareMode {
|
||
|
left: Snapshot,
|
||
|
right: Snapshot,
|
||
|
args: Vec<String>,
|
||
|
results: SnapshotCompareResult
|
||
|
}
|
||
|
|
||
|
impl CompareMode {
|
||
|
pub fn new(args: Vec<String>, in_path: String, out_path: String) -> CompareMode {
|
||
|
|
||
|
|
||
|
CompareMode { in_path, out_path, args, snapshot: Default::default() }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
impl Comparer for CompareMode {
|
||
|
fn run(&self) {
|
||
|
|
||
|
}
|
||
|
}
|