package current

  1. Overview
  2. Docs

Perform builds with caching.

Parameters

module B : S.BUILDER

Signature

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.

val invalidate : B.Key.t -> unit

invalidate key removes key from the cache.

val reset : db:bool -> unit

reset ~db clears the cache. Useful for unit-tests.

  • parameter db

    Also clear from the on-disk database table.

OCaml

Innovation. Community. Security.