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

Class TTempFileHandle

util/system/tempfile.h:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38};
39
40class TTempFileHandle: public TTempFile, public TFile {
41public:
42 TTempFileHandle();
43 TTempFileHandle(const TString& fname);
44
45 static TTempFileHandle InCurrentDir(const TString& filePrefix = "yandex", const TString& extension = "tmp");
46 static TTempFileHandle InDir(const TFsPath& dirPath, const TString& filePrefix = "yandex", const TString& extension = "tmp");
47
48private:
49 TFile CreateFile() const;
50};
51
52/*
53 * Creates a unique temporary filename in specified directory.

Callers 2

InCurrentDirMethod · 0.85
InDirMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected