pub fn notify_site_size(site: &Site) {
    let library = site.library.read().unwrap();
    println!(
        "-> Creating {} pages ({} orphan), {} sections, and processing {} images",
        library.pages().len(),
        library.get_all_orphan_pages().len(),
        library.sections().len() - 1, // -1 since we do not count the index as a section there
        site.num_img_ops(),
    );
}
/// Display in the console the number of pages/sections in the site, and number of images to process
Display in the console the number of pages/sections in the site, and number of images to process
Display in the console the number of pages / sections in the site and number of images to process
pub fn notify_site_size(site: &Site) {
    let library = site.library.read().unwrap();
    println!(
        "-> Creating {} pages ({} orphan), {} sections, and processing {} images",
        library.pages().len(),
        library.get_all_orphan_pages().len(),
        library.sections().len() - 1, // -1 since we do not count the index as a section there
        site.num_img_ops(),
    );
}
pub fn notify_site_size ( site : & Site ) { let library = site . library . read ( ) . unwrap ( ) ; println ! ( " " library pages ( ) len ( ) library get_all_orphan_pages ( ) len ( ) library sections ( ) len ( ) 1 // -1 since we do not count the index as a section there site num_img_ops ( ) ) ; }
Display in the console the number of pages/sections in the site, and number of images to process
Display in the console the number of pages / sections in the site and number of images to process
site
&Site
site
&Site