package oasis

  1. Overview
  2. Docs
type library_name = OASISTypes.name
type findlib_part_name = OASISTypes.name
type 'a map_of_findlib_part_name = 'a OASISUtils.MapString.t
exception InternalLibraryNotFound of library_name
exception FindlibPackageNotFound of OASISTypes.findlib_name
type group_t =
  1. | Container of findlib_part_name * group_t list
  2. | Package of findlib_part_name * OASISTypes.common_section * OASISTypes.build_section * [ `Library of OASISTypes.library | `Object of OASISTypes.object_ ] * group_t list

Library groups are organized in trees.

Compute groups of libraries, associate root libraries with a tree of its children. A group of libraries is defined by the fact that these libraries have a parental relationship and must be installed together, with the same META file.

val findlib_of_group : group_t -> OASISTypes.findlib_name

Return the findlib root name of a group, it takes into account containers. So the return group name is the toplevel name for both libraries and theirs containers.

Return the root library, i.e. the first found into the group tree that has no parent.

OCaml

Innovation. Community. Security.