MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ListPackages

Function ListPackages

src/Core/System/Package.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 std::vector<std::string> ListPackages()
29 {
30 vili::node packages = vili::parser::from_file("Package/Packages.vili"_fs);
31 std::vector<std::string> packageNames;
32 for (auto [packageName, _] : packages.items())
33 {
34 packageNames.push_back(packageName);
35 }
36 return packageNames;
37 }
38
39 bool Install(const std::string& packageName)
40 {

Callers 2

GetPackageLocationFunction · 0.85
LoadFunction · 0.85

Calls 2

from_fileFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected