Skip to main content

get_installed_packages

Function get_installed_packages 

Source
pub fn get_installed_packages() -> HashSet<String>
Expand description

What: Query installed package names through arch-toolkit.

Inputs:

  • None.

Output:

  • Installed package names or an empty set when pacman is unavailable.

Details:

  • The query runs with a stable C locale.