package jenga

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

Ruleset.t represent a set of rules, with lookup.

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val empty : t
val create : sources:Path.t list -> Rule.t list -> [ `Duplicate_target of Path.Rel.t | `Ok of t ]
val union : t -> into:t -> [ `Duplicate_target of Path.Rel.t | `Ok of t ]
val targets : t -> Path.Rel.t list
val check_for_non_local_targets : t -> dir:Path.Rel.t -> [ `Alias of Alias.t | `Rule_target of Path.Rel.t | `Sources of Path.Rel.t ] list
val find_target : t -> Path.Rel.t -> [ `Found of Rule.Target_rule.t option | `Not_found ]
val find_alias : t -> Alias.t -> unit Dep.t list option