MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetConfigDir

Method GetConfigDir

lib/remote/configobjectutility.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using namespace icinga;
23
24String ConfigObjectUtility::GetConfigDir()
25{
26 String prefix = ConfigPackageUtility::GetPackageDir() + "/_api/";
27 String activeStage = ConfigPackageUtility::GetActiveStage("_api");
28
29 if (activeStage.IsEmpty())
30 RepairPackage("_api");
31
32 return prefix + activeStage;
33}
34
35String ConfigObjectUtility::ComputeNewObjectConfigPath(const Type::Ptr& type, const String& fullName)
36{

Callers

nothing calls this directly

Calls 1

IsEmptyMethod · 0.45

Tested by

no test coverage detected