Burrito.Util.FileCache (burrito v1.2.0)

Summary

Functions

@spec clear_cache() :: :ok | {:error, term()}
@spec fetch(binary()) :: {:hit, binary()} | {:error, term()} | :miss
Link to this function

put_if_not_exist(key, data)

@spec put_if_not_exist(binary(), binary()) :: :ok | {:error, term()}