fn print_results(processed_files: &ProcessedFiles, path: &Path, overwrites: u64, preserves: u64) {
    if overwrites > 0 || preserves > 0 {
        println!(
            "Done. Retrieved {} {} to {}.\n  pre-existing: {}   (overwritten: {}  preserved: {})",
            processed_files.len(),
            pluralize("file", "files", processed_files.len() as u64),
            path.display(),
            overwrites + preserves,
            overwrites,
            preserves
        );
    } else {
        println!(
            "Done. Retrieved {} files to {}",
            processed_files.len(),
            path.display()
        );
    }
}
// prints results/summary of GET transfer
prints results/summary of GET transfer
prints results / summary of GET transfer
fn print_results(processed_files: &ProcessedFiles, path: &Path, overwrites: u64, preserves: u64) {
    if overwrites > 0 || preserves > 0 {
        println!(
            "Done. Retrieved {} {} to {}.\n  pre-existing: {}   (overwritten: {}  preserved: {})",
            processed_files.len(),
            pluralize("file", "files", processed_files.len() as u64),
            path.display(),
            overwrites + preserves,
            overwrites,
            preserves
        );
    } else {
        println!(
            "Done. Retrieved {} files to {}",
            processed_files.len(),
            path.display()
        );
    }
}
fn print_results ( processed_files : & ProcessedFiles , path : & Path , overwrites : u64 , preserves : u64 ) { if overwrites > 0 || preserves > 0 { println ! ( " \n " processed_files len ( ) pluralize ( " " " " processed_files len ( ) as u64 ) path display ( ) overwrites preserves overwrites preserves ) ; } else { println ! ( " " processed_files len ( ) path display ( ) ) ; } }
prints results/summary of GET transfer
prints results / summary of GET transfer
processed_files
&ProcessedFiles
path
&Path
overwrites
u64
preserves
u64