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

Method exists

TheForceEngine/TFE_FileSystem/filestream.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25bool FileStream::exists(const char* filename)
26{
27 bool res = open(filename, MODE_READ);
28 close();
29
30 return res;
31}
32
33bool FileStream::open(const char* filename, AccessMode mode)
34{

Callers 1

getFilePathFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected