Raw_context.Cache
include Mavryk_protocol_environment_001_PtAtLas.Context.CACHE
with type t := t
and type size := int
and type index := int
and type identifier := string
and type key = Mavryk_protocol_environment_001_PtAtLas.Context.Cache.key
and type value = Mavryk_protocol_environment_001_PtAtLas.Context.Cache.value
type value = Mavryk_protocol_environment_001_PtAtLas.Context.Cache.value = ..
val key_of_identifier : cache_index:int -> string -> key
val identifier_of_key : key -> string
val pp : Mavryk_protocol_environment_001_PtAtLas.Format.formatter -> t -> unit
val find :
t ->
key ->
value option Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val set_cache_layout :
t ->
int list ->
t Mavryk_protocol_environment_001_PtAtLas.Lwt.t
val cache_size : t -> cache_index:int -> int option
val cache_size_limit : t -> cache_index:int -> int option
val sync : t -> bytes -> t Mavryk_protocol_environment_001_PtAtLas.Lwt.t