jon.recoil.org

Module Ocaml_typing.Cmt_cache

type cmt_item = {
  1. cmt_infos : Ocaml_typing.Cmt_format.cmt_infos;
  2. mutable location_trie : exn;
}
include sig ... end
val read : string -> Ocaml_typing.Cmt_cache.cmt_item
val flush : ?older_than:float -> unit -> unit
val clear : unit -> unit
val check : string -> bool
val get_cached_entry : string -> Ocaml_typing.Cmt_cache.cmt_item
type cache_stats = {
  1. hit : int;
  2. miss : int;
}
val get_cache_stats : unit -> Ocaml_typing.Cmt_cache.cache_stats
val clear_cache_stats : unit -> unit