MCPcopy Create free account
hub / github.com/PDAL/PDAL / getcwd

Function getcwd

pdal/util/FileUtils.cpp:346–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344
345
346std::string getcwd()
347{
348 char* pszCurDir = CPLGetCurrentDir();
349 std::string cwd = addTrailingSlash(
350 std::string(pszCurDir));
351 CPLFree(pszCurDir);
352 return cwd;
353}
354
355
356std::string toCanonicalPath(std::string filename)

Callers 1

TESTFunction · 0.85

Calls 1

addTrailingSlashFunction · 0.85

Tested by 1

TESTFunction · 0.68