package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

Dune Dependency

Authors

Maintainers

Sources

dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e

doc/dune-private-libs.cache/Cache/Local/Metadata_file/index.html

Module Local.Metadata_file

A matadata 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.