Fix tests
This commit is contained in:
parent
2f08c05afe
commit
4ba7d7bbfc
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue