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

Method GetIcingaDataPath

lib/base/utility.cpp:1942–1948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1940}
1941
1942String Utility::GetIcingaDataPath()
1943{
1944 char path[MAX_PATH];
1945 if (!SUCCEEDED(SHGetFolderPath(nullptr, CSIDL_COMMON_APPDATA, nullptr, 0, path)))
1946 return "";
1947 return String(path) + "\\icinga2";
1948}
1949
1950#endif /* _WIN32 */
1951

Callers

nothing calls this directly

Calls 1

StringClass · 0.70

Tested by

no test coverage detected