package ocamlbuild

  1. Overview
  2. Docs
type cache_entry
type suspension
type build_status =
  1. | Bbuilt
  2. | Bcannot_be_built
  3. | Bnot_built_yet
  4. | Bsuspension of suspension
val clean : unit -> unit
val resource_state : t -> build_status
val resource_changed : t -> unit
val resource_has_changed : t -> bool
val resource_built : t -> unit
val resource_failed : t -> unit
val import_in_build_dir : t -> unit
val suspend_resource : t -> Command.t -> (unit -> unit) -> t list -> unit
val resume_resource : t -> unit
val resume_suspension : suspension -> unit
val get_optional_resource_suspension : t -> (Command.t * (unit -> unit)) option
val clear_resource_failed : t -> unit
val add_dependency : t -> t -> unit
val fold_dependencies : (string -> string -> 'a -> 'a) -> 'a -> 'a
val external_is_up_to_date : t -> bool
val dependencies : t -> Resources.t
val print_cache : Format.formatter -> unit -> unit
val print_dependencies : Format.formatter -> unit -> unit