Fix tests

This commit is contained in:
Jeremy Soller 2024-11-19 08:15:47 -07:00
parent 2f08c05afe
commit 4ba7d7bbfc
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
use cosmic_files::operation::{recursive::Context, ReplaceResult};
use cosmic_files::operation::{recursive::Context, Controller, ReplaceResult};
use std::{error::Error, io, path::PathBuf};
fn main() -> Result<(), Box<dyn Error>> {
let mut context = Context::new()
let mut context = Context::new(Controller::new())
.on_progress(|op, progress| {
println!("{:?}: {:?}", op.to, progress);
})