Module CacheSource

Sourcetype metadata = Stdune.Sexp.t list
Sourcemodule File : sig ... end

A file stored in Dune cache is fully determined by the build path and its content digest. There may be multiple Files with the same digest due to sharing between multiple workspaces. In fact, the more such pairs there are, the more effective the cache is.

Sourcetype promotion =
  1. | Already_promoted of File.t
  2. | Promoted of File.t
Sourcetype repository = {
  1. directory : string;
  2. remote : string;
  3. commit : string;
}
Sourcetype command =
  1. | Dedup of File.t
Sourcemodule Duplication_mode : sig ... end
Sourcemodule type Cache = sig ... end
Sourcemodule type Caching = sig ... end
Sourcetype caching = (module Caching)
Sourceval command_to_dyn : command -> Stdune__Dyn.t
Sourcemodule Key : sig ... end
Sourceval promotion_to_string : promotion -> string
Sourceval make_caching : (module Cache with type t = 'a) -> 'a -> (module Caching)
Sourceval cachable : Unix.file_kind -> bool
Sourcemodule Client : sig ... end
Sourcemodule Local : sig ... end
Sourcemodule Messages : sig ... end