MCPcopy Create free account
hub / github.com/apache/trafficserver / RecConfigReadConfigDir

Function RecConfigReadConfigDir

src/records/RecCore.cc:1000–1008  ·  view source on GitHub ↗

------------------------------------------------------------------------- RecConfigReadConfigDir -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

998// RecConfigReadConfigDir
999//-------------------------------------------------------------------------
1000std::string
1001RecConfigReadConfigDir()
1002{
1003 if (const char *env = getenv("PROXY_CONFIG_CONFIG_DIR")) {
1004 return Layout::get()->relative(env);
1005 } else {
1006 return Layout::get()->sysconfdir;
1007 }
1008}
1009
1010//-------------------------------------------------------------------------
1011// RecConfigReadRuntimeDir

Callers 11

decodeMethod · 0.85
set_paths_helperFunction · 0.85
mainFunction · 0.85
Files.ccFile · 0.85
RecConfigReadConfigPathFunction · 0.85
produce_layoutFunction · 0.85
statFileMethod · 0.85
loadMethod · 0.85
TSConfigDirGetFunction · 0.85
check_config_directoriesFunction · 0.85

Calls 2

relativeMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected