Loadpath* Load paths.
A load path is a physical path in the file system; to each load path is associated a Rocq DirPath.t (the "logical" path of the physical path).
val logical : t -> Names.DirPath.tGet the logical path (Rocq module hierarchy) of a loadpath.
val physical : t -> CUnix.physical_pathGet the physical path of a loadpath
val get_load_paths : unit -> t listGet the current loadpath association.
val remove_load_path : CUnix.physical_path -> unitRemove the current logical path binding associated to a given physical path, if any.
val find_load_path : CUnix.physical_path -> tGet the binding associated with a physical path. Raises Not_found if there is none.
val find_with_logical_path : Names.DirPath.t -> t listget the list of load paths that correspond to a given logical path
val find_extra_dep_with_logical_path : ?loc:Loc.t -> from:Names.DirPath.t -> file:string -> unit -> CUnix.physical_pathfinds a file rooted in from.
Locate a file among the registered paths. Do not use this function, as it does not respect the visibility of paths.
module Error : sig ... endval locate_qualified_library : ?root:Names.DirPath.t -> Libnames.qualid -> (Names.DirPath.t * CUnix.physical_path, Error.t) Stdlib.Result.tval locate_absolute_library : Names.DirPath.t -> (CUnix.physical_path, Error.t) Stdlib.Result.tLocates a library by implicit name.
type vo_path = {unix_path : string; | (* Filesystem path containing vo/ml files *) |
coq_path : Names.DirPath.t; | (* Rocq prefix for the path *) |
implicit : bool; | (*
|
recursive : bool; | (*
|
}Adds a path to the Rocq and ML paths
val add_vo_path : vo_path -> unit