fn copy_pass_to_temporary_location(pass_path: &Path, temporary_path: &Path) -> io::Result<()> {
    let mut options = CopyOptions::new();
    options.content_only = true;

    if fs_extra::dir::copy(pass_path, temporary_path, &options).is_err() {
        return Err(io::ErrorKind::Other.into());
    }

    Ok(())
}
/// Make a copy of the pass contents to the temporary folder
Make a copy of the pass contents to the temporary folder
Make a copy of the pass contents to the temporary folder
fn copy_pass_to_temporary_location(pass_path: &Path, temporary_path: &Path) -> io::Result<()> {
    let mut options = CopyOptions::new();
    options.content_only = true;
    if fs_extra::dir::copy(pass_path, temporary_path, &options).is_err() {
        return Err(io::ErrorKind::Other.into());
    }
    Ok(())
}
fn copy_pass_to_temporary_location ( pass_path : & Path , temporary_path : & Path ) -> io :: Result < ( ) > { let mut options = CopyOptions :: new ( ) ; options . content_only = true ; if fs_extra :: dir :: copy ( pass_path , temporary_path , & options ) . is_err ( ) { return Err ( io :: ErrorKind :: Other . into ( ) ) ; } Ok ( ( ) ) }
Make a copy of the pass contents to the temporary folder
Make a copy of the pass contents to the temporary folder
pass_path
&Path
temporary_path
&Path
pass_path
&Path
temporary_path
&Path