forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib_file_deps.mli
More file actions
33 lines (26 loc) · 868 Bytes
/
lib_file_deps.mli
File metadata and controls
33 lines (26 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
open Import
module Group : sig
type ocaml =
| Cmi
| Cmx
type t =
| Ocaml of ocaml
| Melange of Melange.Cm_kind.t
| Header
end
(** [deps t libs ~files] returns a list of path dependencies for all the files
with extension [files] of libraries [libs]. *)
val deps : Lib.t list -> groups:Group.t list -> Dep.Set.t
(** Compute library file dependencies for all [libs] for the given [cm_kind].
When [opaque] is true, local libraries only depend on .cmi (not .cmx). *)
val deps_of_entries : opaque:bool -> cm_kind:Lib_mode.Cm_kind.t -> Lib.t list -> Dep.Set.t
type path_specification =
| Allow_all
| Disallow_external of Lib_name.t
val raise_disallowed_external_path : loc:Loc.t -> Lib_name.t -> Path.t -> 'a
val eval
: loc:Loc.t
-> expander:Expander.t
-> paths:path_specification
-> Dep_conf.t list
-> Path.Set.t Memo.t