package opam-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Default config

Library path for a given package: $opam/$switch/lib/$name

Compile and link flags for a given package: $opam/$switch/lib/$name/opam.config

Library path: $opam/$switch/lib

val stublibs : t -> OpamTypes.switch -> OpamTypes.dirname

DLL paths

val toplevel : t -> OpamTypes.switch -> OpamTypes.dirname

toplevel path: $opam/$switch/lib/toplevel

Documentation path for a given package: $opam/$switch/doc/$name

Documentation path: $opam/$switch/doc/

val share_dir : t -> OpamTypes.switch -> OpamTypes.dirname

Shared directory: $opam/$switch/share

Share directory for a given package: $opam/$switch/share/$package

Etc directory: $opam/$switch/etc

Etc directory for a given package: $opam/$switch/etc/$package

val man_dir : ?num:string -> t -> OpamTypes.switch -> OpamTypes.dirname

Man pages path: $opam/$switch/man/. The optional num argument will add a manN suffix if specified

Installed binaries: $opam/$switch/bin

Installed system binaries: $opam/$switch/sbin

OCaml

Innovation. Community. Security.