diff --git a/src/creator/mod.rs b/src/creator/mod.rs index 173b7d4..1595cb9 100644 --- a/src/creator/mod.rs +++ b/src/creator/mod.rs @@ -44,6 +44,10 @@ impl Creator { }) } + pub fn len(&self) -> usize { + self.entries.len() + } + pub fn create(self, outdir: &Path, sender: Sender) -> Result<(), Box> { let d = env::current_dir()?; let plist = Mutex::new(Plist::default());