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

Function makeDirectory

TheForceEngine/TFE_FileSystem/fileutil.cpp:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 bool makeDirectory(const char* dir)
66 {
67 #ifdef _WIN32
68 if (CreateDirectoryA(dir, NULL) || GetLastError() == ERROR_ALREADY_EXISTS)
69 {
70 return true;
71 }
72 #endif
73
74 return false;
75 }
76
77 void getCurrentDirectory(char* dir)
78 {

Callers 15

setTFEPathFunction · 0.70
setProgramDataPathFunction · 0.70
setUserDocumentsPathFunction · 0.70
mainFunction · 0.50
initReplaysFunction · 0.50
getTempDirectoryFunction · 0.50
project_editUiFunction · 0.50
exportSelectedFunction · 0.50
autosaveFunction · 0.50
snapshotUI_BeginFunction · 0.50
console_exportTextureFunction · 0.50
createModDirIfNeededFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected