current.cache
Current_cache.Make
Perform builds with caching.
current
current.fs
current.term
module B : S.BUILDER
val get : ?schedule:Schedule.t -> B.t -> B.Key.t -> B.Value.t Current.Primitive.t
get b k is a term for the result of building k.
get b k
k
val invalidate : B.Key.t -> unit
invalidate key removes key from the cache.
invalidate key
val reset : db:bool -> unit
reset ~db clears the cache. Useful for unit-tests.
reset ~db
Also clear from the on-disk database table.