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

Method InCurrentDir

util/system/tempfile.cpp:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28TTempFileHandle TTempFileHandle::InCurrentDir(const TString& filePrefix, const TString& extension) {
29 return TTempFileHandle(MakeTempName(".", filePrefix.c_str(), extension.c_str()));
30}
31
32TTempFileHandle TTempFileHandle::InDir(const TFsPath& dirPath, const TString& filePrefix, const TString& extension) {
33 return TTempFileHandle(MakeTempName(dirPath.c_str(), filePrefix.c_str(), extension.c_str()));

Callers

nothing calls this directly

Calls 3

TTempFileHandleClass · 0.85
MakeTempNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected