Added `len` method to `Creator`
This commit is contained in:
parent
1160730e1f
commit
3a5174c521
|
@ -44,6 +44,10 @@ impl Creator {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn len(&self) -> usize {
|
||||
self.entries.len()
|
||||
}
|
||||
|
||||
pub fn create(self, outdir: &Path, sender: Sender<Message>) -> Result<(), Box<dyn Error>> {
|
||||
let d = env::current_dir()?;
|
||||
let plist = Mutex::new(Plist::default());
|
||||
|
|
Loading…
Reference in New Issue