Skip to main content

copy_dir_recursive

Function copy_dir_recursive 

Source
fn copy_dir_recursive(
    src: PathBuf,
    dst: PathBuf,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send>>
Expand description

Recursively copy the contents of src into dst.

Uses explicit boxing to satisfy the compiler for the async recursive call.