Skip to main content

package_state

Function package_state 

Source
pub fn package_state(
    entry: &Entry,
    platform: &LinuxInfo,
    machine: Machine<'_>,
) -> Option<PackageState>
Expand description

How a package entry stands: its own packages first, then the packages it conflicts with, and its command only when neither is installed. None for an entry that is not a package.