MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / getTempDirectory

Function getTempDirectory

TheForceEngine/TFE_Editor/editor.cpp:1130–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128 }
1129
1130 void getTempDirectory(char* tmpDir)
1131 {
1132 sprintf(tmpDir, "%s/Temp", s_editorConfig.editorPath);
1133 FileUtil::fixupPath(tmpDir);
1134 if (!FileUtil::directoryExits(tmpDir))
1135 {
1136 FileUtil::makeDirectory(tmpDir);
1137 }
1138 }
1139
1140 void clearRecents()
1141 {

Callers 6

handleProjectExportFunction · 0.85
extractArchiveFunction · 0.85
importSelectedFunction · 0.85
exportGobFunction · 0.85
exportLevelFunction · 0.85
playFunction · 0.85

Calls 3

fixupPathFunction · 0.50
directoryExitsFunction · 0.50
makeDirectoryFunction · 0.50

Tested by

no test coverage detected