A table of registered environment variables, with typed access
include sig ... end
val sexp_of_t : ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.t
It is an error to register a name
more than once, unless it has been unregistered by
unregister name
or clear_all_registrations
val register : ?choices:string list ‑> string ‑> string option t
val register_with_default : ?choices:string list ‑> string ‑> default:string ‑> string t
val clear_all_registrations : unit ‑> unit
Clears the set of known vars, but if variable by the same name are recreated later,
the relevant setenv
will still be in effect.
module Info : sig ... end
val change_to_peeked_var : unit Tenacious.t
val all_registered : unit ‑> Info.t list
val peek : ?dont_trigger:unit ‑> 'a t ‑> 'a
val watch : 'a t ‑> 'a Core.Or_error.t Tenacious.t
module Getenv : sig ... end
module Setenv : sig ... end