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.
25 lines
809 B
25 lines
809 B
(*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*)
|
|
|
|
open! IStd
|
|
|
|
type t
|
|
|
|
type compilation_data =
|
|
{ directory: string
|
|
; executable: string
|
|
; escaped_arguments: string list
|
|
(** argument list, where each argument is already escaped for the shell. This is because in
|
|
some cases the argument list contains arguments that are actually themselves a list of
|
|
arguments, for instance because the compilation database only contains a "command"
|
|
entry. *) }
|
|
|
|
val filter_compilation_data :
|
|
t -> f:(SourceFile.t -> bool) -> (SourceFile.t * compilation_data) list
|
|
|
|
val from_json_files : [< `Escaped of string | `Raw of string] list -> t
|