(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* unit) -> curdir:string -> parse_extra:(string -> string list -> 'a -> (string list * 'a) option) -> 'a -> string list -> 'a project exception UnableToOpenProjectFile of string val read_project_file : warning_fn:(string -> unit) -> string -> unit project (** [read_project_file warning_fn file] parses [file] as a Coq project; use [warning_fn] for deprecate options; raise [Parsing_error] on illegal options or arguments; raise [UnableToOpenProjectFile msg] if the file could not be opened; fails on some illegal non-project-file options *) val coqtop_args_from_project : _ project -> string list val find_project_file : from:string -> projfile_name:string -> string option val all_files : _ project -> string sourced list val files_by_suffix : string sourced list -> string list -> string sourced list val map_sourced_list : ('a -> 'b) -> 'a sourced list -> 'b list (** Only uses the elements with source=CmdLine *) val map_cmdline : ('a -> 'b) -> 'a sourced list -> 'b list val forget_source : 'a sourced -> 'a