MCPcopy Create free account
hub / github.com/ddnet/ddnet / FindCurrentDirectory

Method FindCurrentDirectory

src/engine/shared/storage.cpp:352–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350 }
351
352 bool FindCurrentDirectory()
353 {
354 if(!fs_getcwd(m_aCurrentdir, sizeof(m_aCurrentdir)))
355 {
356 log_error("storage", "could not determine current directory");
357 return false;
358 }
359 return true;
360 }
361
362 void FindBinaryDirectory(const char *pArgv0)
363 {

Callers 2

CreateLocalStorageFunction · 0.80
CreateTempStorageFunction · 0.80

Calls 1

fs_getcwdFunction · 0.85

Tested by

no test coverage detected