Update dependencies
This commit is contained in:
parent
16c8c0df30
commit
3d18d7f390
3 changed files with 28 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use cosmic_files::operation::recursive::Method;
|
||||
use cosmic_files::operation::{recursive::Context, Controller, ReplaceResult};
|
||||
use std::{error::Error, io, path::PathBuf};
|
||||
use cosmic_files::operation::recursive::Method;
|
||||
|
||||
#[compio::main]
|
||||
async fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
|
@ -37,7 +37,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
context
|
||||
.recursive_copy_or_move(
|
||||
vec![(PathBuf::from("test/b"), PathBuf::from("test/c"))],
|
||||
Method::Move { cross_device_copy: false },
|
||||
Method::Move {
|
||||
cross_device_copy: false,
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue