module OpamFile: sig
.. end
Functions to read and write OPAM configuration files in a typed way
Functions to read and write OPAM configuration files in a typed way
module type IO_FILE = sig
.. end
All Configuration files satisfies this signature
module Config: sig
.. end
Configuration file: $opam/config
module OPAM: sig
.. end
OPAM files
module Descr: sig
.. end
Package descriptions: $opam/descr/
module Aliases: IO_FILE
with type t = compiler switch_map
Compiler aliases: $opam/aliases
module Export: IO_FILE
with type t = package_set * package_set
Import/export file.
module Installed: IO_FILE
with type t = package_set
List of installed packages: $opam/$oversion/installed
module Installed_roots: IO_FILE
with type t = package_set
List of packages explicitely installed by the user:
$opam/$switch/installed.user
module Reinstall: IO_FILE
with type t = package_set
List of packages to reinstall: $opam/$oversion/reinstall
module Updated: IO_FILE
with type t = package_set
List of updated packages: $opam/$repo/$repo/updated
module Comp: sig
.. end
Compiler version $opam/compilers/
module Comp_descr: IO_FILE
with type t = string
Compiler descriptions
Configuration files
module Dot_install: sig
.. end
.install files
module Dot_config: sig
.. end
.config files
Repository files
module Repo_index: IO_FILE
with type t = repository_name list name_map
Association between package names and repository: $opam/repo/index
module Repo_config: IO_FILE
with type t = repository
Repository config: $opam/repo/$repo/config
module Pinned: IO_FILE
with type t = pin_option name_map
Pinned package files
Substitution files
module Subst: sig
.. end
Substitution files
module URL: sig
.. end
Urls for OPAM repositories
module Urls_txt: IO_FILE
with type t = file_attribute_set
urls.txt file *
module Filenames: IO_FILE
with type t = filename_set
List of filenames
module Prefix: IO_FILE
with type t = string name_map
Prefix of package directories
val print_stats : unit -> unit
Display statistics about file access.