Module Boot.Util
val parse_env_line : string -> (string * string) optionval with_ic : string -> (Stdlib.in_channel -> 'a) -> 'aval getenv_from_file : string -> stringval system_getenv : string -> stringval getenv_else : string -> (unit -> string) -> stringval use_suffix : string -> string -> stringAdd a local installation suffix (unless the suffix is itself absolute in which case the prefix does not matter)
val canonical_path_name : string -> stringval coqbin : stringval coqroot : stringThe following only makes sense when executables are running from source tree (e.g. during build or in local mode).
val check_file_else : dir:string -> file:string -> (unit -> string) -> stringcheck_file_else ~dir ~file othchecks iffileexists in the installation directorydirgiven relatively tocoqroot, which maybe has been relocated. If the check fails, thenoth ()is evaluated. Using file system equality seems well enough for this heuristic