fn count_xbps() -> Option<usize> {
        if !extra::which("xbps-query") {
            return None;
        }

        let xbps_output = Command::new("xbps-query")
            .arg("-l")
            .stdout(Stdio::piped())
            .output()
            .unwrap();

        extra::count_lines(
            String::from_utf8(xbps_output.stdout)
                .expect("ERROR: \"xbps-query -l\" output was not valid UTF-8"),
        )
    }
/// Returns the number of installed packages for systems
/// that utilize `xbps` as their package manager.
Returns the number of installed packages for systems
that utilize `xbps` as their package manager.
Returns the number of installed packages for systems that utilize ` xbps ` as their package manager .
fn count_xbps() -> Option<usize> {
        if !extra::which("xbps-query") {
            return None;
        }
        let xbps_output = Command::new("xbps-query")
            .arg("-l")
            .stdout(Stdio::piped())
            .output()
            .unwrap();
        extra::count_lines(
            String::from_utf8(xbps_output.stdout)
                .expect("ERROR: \"xbps-query -l\" output was not valid UTF-8"),
        )
    }
fn count_xbps ( ) -> Option < usize > { if ! extra :: which ( " " ) { return None ; } let xbps_output = Command :: new ( " " ) . arg ( " " ) . stdout ( Stdio :: piped ( ) ) . output ( ) . unwrap ( ) ; extra :: count_lines ( String :: from_utf8 ( xbps_output . stdout ) . expect ( " \" \" " ) , ) }
Returns the number of installed packages for systems
that utilize `xbps` as their package manager.
Returns the number of installed packages for systems that utilize ` xbps ` as their package manager .