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

Function proj_grid_cache_clear

src/networkfilemanager.cpp:2487–2492  ·  view source on GitHub ↗

Clear the local cache of grid chunks. * * @param ctx PROJ context, or NULL * @since 7.0 */

Source from the content-addressed store, hash-verified

2485 * @since 7.0
2486 */
2487void proj_grid_cache_clear(PJ_CONTEXT *ctx) {
2488 if (ctx == nullptr) {
2489 ctx = pj_get_default_ctx();
2490 }
2491 NS_PROJ::gNetworkChunkCache.clearDiskChunkCache(ctx);
2492}
2493
2494// ---------------------------------------------------------------------------
2495

Callers 1

TESTFunction · 0.85

Calls 2

pj_get_default_ctxFunction · 0.85
clearDiskChunkCacheMethod · 0.80

Tested by 1

TESTFunction · 0.68