MCPcopy Create free account
hub / github.com/catboost/catboost / TExecPathsHolder

Method TExecPathsHolder

util/system/execpath.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165namespace {
166 struct TExecPathsHolder {
167 inline TExecPathsHolder() {
168 ExecPath = GetExecPathImpl();
169
170 if (!GetPersistentExecPathImpl(PersistentExecPath)) {
171 PersistentExecPath = ExecPath;
172 }
173 }
174
175 static inline auto Instance() {
176 return SingletonWithPriority<TExecPathsHolder, 1>();

Callers

nothing calls this directly

Calls 2

GetExecPathImplFunction · 0.85

Tested by

no test coverage detected