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

Function pj_context_get_grid_cache_filename

src/networkfilemanager.cpp:2886–2894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2884// ---------------------------------------------------------------------------
2885
2886std::string pj_context_get_grid_cache_filename(PJ_CONTEXT *ctx) {
2887 pj_load_ini(ctx);
2888 if (!ctx->gridChunkCache.filename.empty()) {
2889 return ctx->gridChunkCache.filename;
2890 }
2891 const std::string path(proj_context_get_user_writable_directory(ctx, true));
2892 ctx->gridChunkCache.filename = path + "/cache.db";
2893 return ctx->gridChunkCache.filename;
2894}
2895
2896//! @endcond

Callers 2

TESTFunction · 0.85
openMethod · 0.85

Calls 2

pj_load_iniFunction · 0.85
emptyMethod · 0.45

Tested by 1

TESTFunction · 0.68