this repo has no description
1type library = {
2 name : string;
3 archive_name : string option;
4 dir : string option;
5 deps : string list;
6}
7
8type t = { meta_dir : Fpath.t; libraries : library list }
9
10val process_meta_file : Fpath.t -> t
11(** From a path to a [Meta] file, returns the list of libraries defined in this
12 file. *)
13
14val libname_of_archive : t -> string Fpath.map
15(** [libname_of_archive meta_dir libraries] computes a map from the
16 fully-qualified archive path to the name of the library. [meta_path] is the
17 path of the directory where the META file is found, and [libraries] are the
18 libraries defined in that META file. *)
19
20val directories : t -> Fpath.set
21(** [directories meta_dir libraries] computes a set of directories containing
22 the libraries in [libraries] defined in the META file found in [meta_path].
23*)