package opam-state

  1. Overview
  2. Docs

opam-state 2.1.5


This package provides the following libraries (via ocamlobjinfo):



  • OpamSysPoll This module polls various aspects of the host, to define the arch, os, etc. variables
  • OpamStateConfig Configuration options for the state lib (record, global reference, setter, initialisation)
  • OpamPackageVar Resolution and handling of opam variables + filters
  • OpamSpdxList Implementation generated from the SPDX lists at See the dune file for instructions.
  • OpamFileTools Tools for manipulating and checking package definition ("opam") files
  • OpamFormatUpgrade This modules handles the conversion from older repository and package versions to the current one
  • OpamRepositoryState loading and handling of the repository state of an opam root (i.e. what is in ~/.opam/repo)
  • OpamPinned Specific query and handling of pinned packages
  • OpamScript (generated) Shell config scripts as OCaml strings
  • OpamEnv Process environment setup and handling, shell configuration
  • OpamGlobalState Loading and handling of the global state of an opam root
  • OpamSysInteract
  • OpamSwitchState Loading and querying a switch state
  • OpamSwitchAction Switch-related actions and changes
  • OpamUpdate Synchronisation and downloading of repositories and package sources