Module Ketrew_target.Condition (.ml)

module Condition: sig .. end

type t = [ `And of t list
| `Command_returns of Ketrew_target.Command.t * int
| `Never
| `Satisfied
| `Volume_exists of Ketrew_target.Volume.t
| `Volume_size_bigger_than of Ketrew_target.Volume.t * int ]
An execution anti-condition; the condition defines when a target is ready and therefore should be run if the condition is met:
val log : t -> Ketrew_pervasives.Log.t
val to_string_hum : t -> string