/// Generates an uncompressed tar archive and hashes of its files
Generates an uncompressed tar archive and hashes of its files
Generates an uncompressed tar archive and hashes of its files
pub fn generate_archive(options: &Config, time: u64, listener: &mut dyn Listener) -> CDResult<(Vec<u8>, HashMap<PathBuf, Digest>)> {
    let mut archive = Archive::new(time);
    let copy_hashes = archive_files(&mut archive, options, listener)?;
    Ok((archive.into_inner()?, copy_hashes))
}
pub fn generate_archive ( options : & Config , time : u64 , listener : & mut dyn Listener ) -> CDResult < ( Vec < u8 > , HashMap < PathBuf , Digest > ) > { let mut archive = Archive :: new ( time ) ; let copy_hashes = archive_files ( & mut archive , options , listener ) ? ; Ok ( ( archive . into_inner ( ) ? , copy_hashes ) ) }
Generates an uncompressed tar archive and hashes of its files
Generates an uncompressed tar archive and hashes of its files
options
&Config
time
u64
listener
&mut dyn Listener