MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Cache_data

Function Cache_data

src/cache.c:482–485  ·  view source on GitHub ↗

* Get pointer to entry's data. */

Source from the content-addressed store, hash-verified

480 * Get pointer to entry's data.
481 */
482static Dstr *Cache_data(CacheEntry_t *entry)
483{
484 return entry->UTF8Data ? entry->UTF8Data : entry->Data;
485}
486
487/**
488 * Change Content-Type for cache entry found by url.

Callers 2

a_Cache_get_bufFunction · 0.85
Cache_process_queueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected