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

Function exists

TheForceEngine/TFE_FileSystem/fileutil.cpp:231–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 bool exists( const char *path )
232 {
233 return !(GetFileAttributesA(path)==INVALID_FILE_ATTRIBUTES && GetLastError()==ERROR_FILE_NOT_FOUND);
234 }
235
236 u64 getModifiedTime( const char* path )
237 {

Callers 15

isPortableInstallFunction · 0.70
setProgramPathFunction · 0.70
isPortableInstallFunction · 0.70
validatePathFunction · 0.50
openRotatingLogFunction · 0.50
getArchiveMethod · 0.50
setupPathFunction · 0.50
loadReplayFromPathFunction · 0.50
level_createEmptyFunction · 0.50
openDarkPilotConfigFunction · 0.50
loadCustomGobFunction · 0.50
modLoader_existFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected