forked from camlspotter/ocamloscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathload.mli
36 lines (29 loc) · 875 Bytes
/
load.mli
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
34
35
module DB : sig
type t = {
items : Item.t array;
ocamlfind_opam_table : (OCamlFind.Package.t * OPAM.package option) list;
(** List of the top OCamlFind packages
and the OPAM package which installed it if exists.
Note: it lists only the top packages.
*)
}
end
module PooledDB : sig
type t = {
items : Item.pooled array;
types : Stype.t array;
ocamlfind_opam_table : (OCamlFind.Package.t * OPAM.package option) list;
(** List of the top OCamlFind packages
and the OPAM package which installed it if exists.
Note: it lists only the top packages.
*)
}
val create : DB.t -> t
end
val dump_items : unit -> unit
(**
Scan OCamlFind and OPAM installation directories and dump
oco_*.bin
*)
val load_items : unit -> DB.t
(** Load oco_*.bin files exist in the current dir and its subdirs *)