Library
Module
Module type
Parameter
Class
Class type
Packages
val path : t -> B0_std.Fpath.t
path
is the path to the compilation objects of the package.
compare_by_caseless_name p0 p1
compares p0
and p1
by name in a caseless manner.
val pp : t B0_std.Fmt.t
pp
formats packages.
val pp_name : t B0_std.Fmt.t
pp_name
formats package names.
val pp_version : string B0_std.Fmt.t
pp_version
formats a package version.
val of_dir : B0_std.Fpath.t -> t list
of_dir libdir
are the packages found in libdir
. This is simply all the directory names inside libdir
and an ocaml
package which points to ocamlc -where
.
val by_names : ?init:t B0_std.String.Map.t -> t list -> t B0_std.String.Map.t
by_names pkgs
indexes pkgs
by module name and adds them to init
(defaults to String.Map.empty
.