type build_status = | Bbuilt| Bcannot_be_built| Bnot_built_yet| Bsuspension of suspension
val resource_changed : t -> unitval resource_has_changed : t -> boolval resource_built : t -> unitval resource_failed : t -> unitval import_in_build_dir : t -> unitval suspend_resource : t -> Command.t -> (unit -> unit) -> t list -> unitval resume_resource : t -> unitval get_optional_resource_suspension : t -> (Command.t * (unit -> unit)) optionval clear_resource_failed : t -> unitval add_dependency : t -> t -> unitval fold_dependencies : (string -> string -> 'a -> 'a) -> 'a -> 'aval external_is_up_to_date : t -> bool