this repo has no description
at main 27 lines 757 B view raw
1type package = { name : string; version : string } 2 3type doc_file = { 4 kind : [ `Mld | `Asset | `Other ]; 5 file : Fpath.t; 6 rel_path : Fpath.t; 7} 8 9type installed_files = { 10 libs : Fpath.set; 11 docs : doc_file list; 12 odoc_config : Fpath.t option; 13} 14 15type package_of_fpath = package Fpath.map 16 17(* Here we use an associative list *) 18type fpaths_of_package = (package * installed_files) list 19val all_opam_packages : unit -> package list 20 21val classify_docs : Fpath.t -> string option -> Fpath.t list -> doc_file list 22 23val check : string list -> (unit, Util.StringSet.t) Result.t 24val deps : string list -> package list 25val pkg_to_dir_map : unit -> fpaths_of_package * package_of_fpath 26val pp : Format.formatter -> package -> unit 27val prefix : unit -> string