Module Loadpath
val logical : t -> Names.DirPath.tGet the logical path (Coq module hierarchy) 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 to a physical path. Raises
Not_foundif there is none.
val locate_file : string -> stringLocate a file among the registered paths. Do not use this function, as it does not respect the visibility of paths.
type locate_error=|LibUnmappedDir|LibNotFoundtype 'a locate_result= ('a, locate_error) Stdlib.result
val locate_qualified_library : ?root:Names.DirPath.t -> ?warn:bool -> Libnames.qualid -> (library_location * Names.DirPath.t * CUnix.physical_path) locate_result
val try_locate_absolute_library : Names.DirPath.t -> string
Extending the Load Path
type vo_path={unix_path : string;Filesystem path containing vo/ml files
coq_path : Names.DirPath.t;Coq prefix for the path
implicit : bool;implicit = trueavoids having to qualify withcoq_pathhas_ml : bool;If
has_mlis true, the directory will also be added to the ml include pathrecursive : bool;recursivewill determine whether we explore sub-directories}Adds a path to the Coq and ML paths
val add_vo_path : vo_path -> unit