You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
808 B
32 lines
808 B
(*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*)
|
|
|
|
type infer_version = {
|
|
major: int;
|
|
minor: int;
|
|
patch: int;
|
|
commit: string;
|
|
}
|
|
|
|
type command = string wrap <ocaml
|
|
t="InferCommand.t"
|
|
wrap="InferCommand.of_string"
|
|
unwrap="InferCommand.to_string"
|
|
>
|
|
|
|
type run_info = {
|
|
date: string;
|
|
command: command;
|
|
infer_version: infer_version;
|
|
}
|
|
|
|
type t = {
|
|
run_sequence: run_info list; (** successive runs that re-used the same results directory *)
|
|
results_dir_format: string; (** to check if the versions of the results dir are compatible *)
|
|
should_merge_capture: bool; (** add --merge to 'infer analyze' if last command was a capture that needs --merge *)
|
|
}
|