package opam-repomin

  1. Overview
  2. Docs
Minimize opam repository overlays into one unified repo

Install

dune-project
 Dependency

Authors

Maintainers

Sources

opam-repomin-1.0.0.tbz
sha256=d386aa90c5465b295d9d87de446b65da93bb0fa576fe925a4df48d60abc446b1
sha512=207d89cb7b9fc429ef172529f94d8a8f85a42f0107985f5e3fb23d2944f6b67722fb4dfc41e660e7db14b3135ab908ac1b29421de4b8917a939cbedc98b02489

doc/opam-repomin.lib/Opam_repomin/Output/index.html

Module Opam_repomin.OutputSource

Output operations for copying packages.

Sourcetype copy_result = {
  1. copied : OpamPackage.t list;
    (*

    Packages that were copied

    *)
  2. skipped : OpamPackage.t list;
    (*

    Packages skipped (already in output)

    *)
}

Result of a copy operation.

Sourceval dry_run : src:Repo.t -> packages:OpamPackage.t list -> OpamPackage.t list

Return the list of packages that would be copied in a real run.

Sourceval copy : src:Repo.t -> dst:Fpath.t -> packages:OpamPackage.t list -> (copy_result, [ `Msg of string ]) result

Copy packages from src repository to dst directory.

Creates the necessary directory structure under dst/packages/. Skips packages that already exist in the destination.