fn count_pacman() -> Option<usize> {
        let pacman_dir = Path::new("/var/lib/pacman/local");
        if pacman_dir.is_dir() {
            if let Ok(read_dir) = read_dir(pacman_dir) {
                return Some(read_dir.count());
            };
        }

        None
    }
/// Returns the number of installed packages for systems
/// that utilize `pacman` as their package manager.
Returns the number of installed packages for systems
that utilize `pacman` as their package manager.
Returns the number of installed packages for systems that utilize ` pacman ` as their package manager .
fn count_pacman() -> Option<usize> {
        let pacman_dir = Path::new("/var/lib/pacman/local");
        if pacman_dir.is_dir() {
            if let Ok(read_dir) = read_dir(pacman_dir) {
                return Some(read_dir.count());
            };
        }
        None
    }
fn count_pacman ( ) -> Option < usize > { let pacman_dir = Path :: new ( " " ) ; if pacman_dir . is_dir ( ) { if let Ok ( read_dir ) = read_dir ( pacman_dir ) { return Some ( read_dir . count ( ) ) ; } ; } None }
Returns the number of installed packages for systems
that utilize `pacman` as their package manager.
Returns the number of installed packages for systems that utilize ` pacman ` as their package manager .