| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | module State : sig |
| 12 | type t |
| 13 | val loadpath : t -> Loadpath.State.t |
| 14 | end |
| 15 | |
| 16 | (** [init args] Init coqdep, setting arguments from [args]. *) |
| 17 | val init : make_separator_hack:bool -> Args.t -> Boot.Env.maybe_env * State.t |
| 18 | |
| 19 | (** [treat_file_command_line file] Add an input file to be considered *) |
| 20 | val treat_file_command_line : State.t -> string -> State.t |
| 21 | |
| 22 | val sort : State.t -> unit |
| 23 | |
| 24 | val compute_deps : State.t -> Dep_info.t list |