Up

Module Env

Signature

type t
val create : ?putenv:(string * string option) list -> ?command_lookup_path:[
| `Extend of string list
| `Replace of string list
] -> ?build_begin:(unit -> unit Async.Std.Deferred.t) -> ?build_end:(unit -> unit Async.Std.Deferred.t) -> ?artifacts:(dir:Path.t -> Path.t list Dep.t) -> (dir:Path.t -> Scheme.t) -> t
val putenv : t -> (string * string option) list
val build_begin : t -> unit -> unit Async.Std.Deferred.t
val build_end : t -> unit -> unit Async.Std.Deferred.t
val artifacts_policy : t -> Artifact_policy.t
val get_scheme : t -> dir:Path.t -> Scheme.t