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

Function directoryExits

TheForceEngine/TFE_FileSystem/fileutil.cpp:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 bool directoryExits(const char* path, char* outPath)
225 {
226 DWORD attr = GetFileAttributesA(path);
227 if (GetFileAttributesA(path) == INVALID_FILE_ATTRIBUTES) { return false; }
228 return (attr & FILE_ATTRIBUTE_DIRECTORY) != 0;
229 }
230
231 bool exists( const char *path )
232 {

Callers 15

addSearchPathFunction · 0.70
addSearchPathToHeadFunction · 0.70
addSearchPathFunction · 0.70
addSearchPathToHeadFunction · 0.70
mainFunction · 0.50
initReplaysFunction · 0.50
getTempDirectoryFunction · 0.50
project_loadFunction · 0.50
project_editUiFunction · 0.50
exportSelectedFunction · 0.50
importSelectedFunction · 0.50
autosaveFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected