package dune-private-libs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Private libraries of Dune
Install
dune-project
Dependency
Authors
Maintainers
Sources
dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e
doc/src/dune-private-libs.cache/messages_intf.ml.html
Source file messages_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50open Cache_intf open Stdune (** A version of the communication protocol between Dune and the cache daemon. *) type version = { major : int ; minor : int } (** When Dune successfully executes a build rule, it sends a "promotion" message to the cache daemon, listing the produced [files] along with some [metadata] and a few other fields relevant for caching. *) type promotion = { key : Key.t ; files : (Path.Build.t * Digest.t) list ; metadata : Sexp.t list ; repository : int option ; duplication : Duplication_mode.t option } (** There is one initial message [Lang], which is sent by Dune and the cache daemon to each other during the initial negotiation of the version of the communication protocol. *) type initial = Initial (** Outgoing messages are sent by Dune to the cache daemon. *) type outgoing = Outgoing (** Incoming messages are sent by the cache daemon to Dune. *) type incoming = Incoming (** Messages of the communication protocol between Dune and the cache daemon. *) type _ message = | Lang : version list -> initial message (** Inform the other party about the supported versions of the communication protocol. *) | SetBuildRoot : Path.t -> outgoing message (** Set the absolute path to the build root, to be used when interpreting relative paths in subsequent messages. *) | SetCommonMetadata : Sexp.t list -> outgoing message (** Set the common metadata that should be added to the subsequent [Promote] messages. *) | SetRepos : repository list -> outgoing message (** Set the paths to all the version controlled repositories in the workspace along with the associated commit identifiers. *) | Promote : promotion -> outgoing message (** Promote files produced by a build rule into the cache. *) | Dedup : File.t -> incoming message (** Inform Dune that a file that was previously promoted can now be replaced by a hardlink to the corresponding file stored in cache. *)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>