From 46e980fe76370684c90b1c57e4cb3c65f9a9bedb Mon Sep 17 00:00:00 2001 From: James McDonald Date: Mon, 27 Apr 2026 11:57:05 +0200 Subject: [PATCH] Remove old and experimental code --- src/job.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/job.rs b/src/job.rs index 4539f39..0d3b8fb 100644 --- a/src/job.rs +++ b/src/job.rs @@ -14,26 +14,17 @@ pub struct Job { sender: Option>, } -#[derive(Debug)] enum JobSide { Source, Destination, } -#[derive(Debug)] struct Snapshot { snapshot: String, side: JobSide, } impl Job { - pub fn dump(&self) { - println!("Datasets: {:?}", self.datasets); - println!("Target: {}", self.target); - println!("Source ZFS Command: {:?}", self.source_zfs_command); - println!("Target ZFS Command: {:?}", self.target_zfs_command); - } - fn send_event(&self, event: BackupEvent) { if let Some(sender) = &self.sender { sender.send(event).ok(); @@ -386,13 +377,6 @@ impl JobBuilder { } } -struct JobConfig { - sources: Vec, - target: String, - source_zfs_command: Option, - target_zfs_command: Option, -} - #[cfg(test)] mod tests { use super::*;