MCPcopy Create free account
hub / github.com/cvengler/sysget / GetPackageManagerList

Method GetPackageManagerList

src/utils.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11std::vector<std::string> sysget::GetPackageManagerList() {
12 std::vector<std::string> PackageManagerList = { "apt", "xbps", "dnf", "yum", "zypper", "eopkg", "pacman", "emerge", "pkg", "pkg_mgr", "chromebrew", "homebrew", "nix", "snap", "npm", "flatpak", "slapt-get", "pip3", "guix", "gem", "port" };
13 return PackageManagerList;
14}
15
16std::string sysget::GetPackageManager(std::string filename) {
17 std::string line;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected