MCPcopy Create free account
hub / github.com/MisterTea/EternalTerminal / createTempDir

Method createTempDir

test/ServerFifoPathTest.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39class TestEnvironment {
40 public:
41 string createTempDir() {
42 string tmpPath = GetTempDirectory() + string("et_test_XXXXXXXX");
43 const string dir = string(mkdtemp(&tmpPath[0]));
44
45 temporaryDirs.push_back(dir);
46 return dir;
47 }
48
49 FileInfo getFileInfo(const string& name) {
50 struct stat fileStat;

Callers 1

Calls 4

GetTempDirectoryFunction · 0.85
stringClass · 0.85
mkdtempFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected