Module Coq.Workspace

module Flags : sig ... end
module Warning : sig ... end
type t = private {
  1. coqlib : string;
  2. coqcorelib : string;
  3. ocamlpath : string option;
  4. vo_load_path : Loadpath.vo_path list;
  5. ml_include_path : string list;
  6. require_libs : (string * string option * Vernacexpr.export_with_cats option) list;
  7. flags : Flags.t;
  8. warnings : Warning.t list;
  9. kind : string;
    (*

    How the workspace was built

    *)
  10. debug : bool;
    (*

    Enable backtraces

    *)
}
val compare : t -> t -> int

compare

val hash : t -> int

hash

val describe : t -> string * string

user message, debug extra data

module CmdLine : sig ... end
val guess : debug:bool -> cmdline:CmdLine.t -> dir:string -> t
val apply : uri:Lang.LUri.File.t -> t -> unit

apply libname w will prepare Coq for a new file libname on workspace w

val dirpath_of_uri : uri:Lang.LUri.File.t -> Names.DirPath.t