package dune-private-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A metadata file contains a list of files produced by a cached build rule, along with some metadata that can be empty.

One example of what can be included in the metadata field is a git commit at which the files were built, which makes it possible to exchange cache entries relevant to a specific commit between local and distributed caches.

type t = {
  1. metadata : Stdune.Sexp.t list;
  2. files : Cache__.Cache_intf.File.t list;
}
val to_sexp : t -> Stdune.Sexp.t
val of_sexp : Stdune.Sexp.t -> (t, string) Stdune.result
val to_string : t -> string
val of_string : string -> (t, string) Stdune.result
val parse : Stdune.Path.t -> (t, string) Stdune.result
OCaml

Innovation. Community. Security.