package current

  1. Overview
  2. Docs
Pipeline language for keeping things up-to-date

Install

Dune Dependency

Authors

Maintainers

Sources

current-0.6.2.tbz
sha256=ed312cab4ce8d13b9547ee2f935a6954f1d5211de1c22d44d85baaeb9f5fca9d
sha512=c2981a2c7f05bd6f235662b74ee3a679cc395be3d2cca808fac3dc562d6307e8bfe05efff40f42fa4738443cc2fe13929bab9d815c43d741950e5e0e1e6da7a6

doc/current.term/Current_term/Make/Analysis/index.html

Module Make.AnalysisSource

Sourceval metadata : 'a t -> Metadata.t option t

metadata t is the metadata of t, if any. Raises an exception if t is not a primitive (or a map of one).

Sourceval pp : _ t Fmt.t

pp formats a t as a simple string.

Sourceval pp_dot : env:(string * string) list -> collapse_link:(k:string -> v:string -> string option) -> job_info:(Metadata.t -> Output.active option * string option) -> _ t Fmt.t

pp_dot ~env ~collapse_link ~job_info formats a t as a graphviz dot graph.

  • parameter env

    A list of key-value pairs from the URL to control rendering.

  • parameter collapse_link

    Should return a link to the same page with "?k=v" added to the environment.

  • parameter job_info

    Get update statuses and URLs for links to jobs. The update status is used if the job is rebuilding while showing the output of a previous run. The box is displayed using a gradient from the update status colour to the current output colour.

Stats

Sourceval stat : _ t -> S.stats

stat t count how many stages are in each state. This can be slow for large pipelines. Consider using quick_stat instead.

Sourceval quick_stat : unit -> S.stats

quick_stat () returns the current values of the counters. This is O(1). It only counts some operations (binds, primitives and of_output).

OCaml

Innovation. Community. Security.

On This Page
  1. Stats