Packages

Gleam module that provides primitives for caching key-value pairs in files and using files as caches.

Current section

Files

Jump to
hardcache include hardcache_Cache.hrl
Raw

include/hardcache_Cache.hrl

-record(cache, {
file_path :: binary(),
entries :: list({binary(), binary()}),
auto_update :: boolean(),
decode :: fun((binary()) -> list({binary(), binary()})),
encode :: fun((list({binary(), binary()})) -> binary())
}).