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

Function proj_context_set_user_writable_directory

src/filemanager.cpp:1346–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344 */
1345
1346void proj_context_set_user_writable_directory(PJ_CONTEXT *ctx, const char *path,
1347 int create) {
1348 if (!ctx)
1349 ctx = pj_get_default_ctx();
1350 ctx->user_writable_directory = path ? path : "";
1351 if (!path || create) {
1352 proj_context_get_user_writable_directory(ctx, create);
1353 }
1354}
1355
1356// ---------------------------------------------------------------------------
1357

Callers 2

TESTFunction · 0.85
mainFunction · 0.85

Calls 1

pj_get_default_ctxFunction · 0.85

Tested by 1

TESTFunction · 0.68