This commit is contained in:
steven-omaha
2022-12-02 16:29:01 +01:00
parent ac3ee300d7
commit c9e2f47708
5 changed files with 13 additions and 14 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
use crate::Package;
use std::collections::HashSet;
use alpm::Alpm;
use alpm::PackageReason::Explicit;
use std::collections::HashSet;
use crate::Package;
pub fn get_all_installed_packages() -> HashSet<Package> {
convert_to_pacdef_packages(get_all_installed_packages_alpm())