fn count_dpkg() -> Option<usize> {
        let dpkg_dir = Path::new("/var/lib/dpkg/info");

        get_entries(dpkg_dir).map(|entries| {
            entries
                .iter()
                .filter(|x| extra::path_extension(x).unwrap_or_default() == "list")
                .into_iter()
                .count()
        })
    }
/// Returns the number of installed packages for systems
/// that utilize `dpkg` as their package manager.
Returns the number of installed packages for systems
that utilize `dpkg` as their package manager.
Returns the number of installed packages for systems that utilize ` dpkg ` as their package manager .
fn count_dpkg() -> Option<usize> {
        let dpkg_dir = Path::new("/var/lib/dpkg/info");
        get_entries(dpkg_dir).map(|entries| {
            entries
                .iter()
                .filter(|x| extra::path_extension(x).unwrap_or_default() == "list")
                .into_iter()
                .count()
        })
    }
fn count_dpkg ( ) -> Option < usize > { let dpkg_dir = Path :: new ( " " ) ; get_entries ( dpkg_dir ) . map ( | entries | { entries . iter ( ) . filter ( | x | extra :: path_extension ( x ) . unwrap_or_default ( ) == " " ) . into_iter ( ) . count ( ) } ) }
Returns the number of installed packages for systems
that utilize `dpkg` as their package manager.
Returns the number of installed packages for systems that utilize ` dpkg ` as their package manager .