MCPcopy Create free account
hub / github.com/OSGeo/PROJ / dontReadUserWritableDirectory

Function dontReadUserWritableDirectory

src/filemanager.cpp:1537–1542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1535#endif
1536
1537static bool dontReadUserWritableDirectory() {
1538 // Env var mostly for testing purposes and being independent from
1539 // an existing installation
1540 const char *envVar = getenv("PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY");
1541 return envVar != nullptr && envVar[0] != '\0';
1542}
1543
1544static void *pj_open_lib_internal(
1545 PJ_CONTEXT *ctx, const char *name, const char *mode,

Callers 1

pj_open_lib_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected