package opam-repomin

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

Module Opam_repominSource

Minimize opam repository overlays using the 0install solver.

This library provides functionality to determine the minimal set of packages from a full opam-repository that are required to make an overlay repository standalone.

Sourcemodule Env : sig ... end

Environment configuration for the solver.

Repository Operations

Sourcemodule Repo : sig ... end

Repository handling.

Sourcemodule Solver : sig ... end

Solver for finding minimal package sets.

Sourcemodule Output : sig ... end

Output operations for copying packages.

Sourceval run : env:Env.t -> overlay:Fpath.t -> full:Fpath.t -> compiler:OpamPackage.t -> output:Fpath.t -> dry_run:bool -> (unit, [ `Msg of string ]) result

Run the full minimization process.

  • parameter env

    Environment configuration

  • parameter overlay

    Path to the overlay repository

  • parameter full

    Path to the full opam-repository

  • parameter compiler

    Compiler package to solve with

  • parameter output

    Output directory for the minimized repository

  • parameter dry_run

    If true, only print what would be copied