package opam-repository

  1. Overview
  2. Docs

Signature for repository handlers and some helpers for the repository type

module type S = sig ... end

Backend signature

val to_string : OpamTypes.repository -> string

Pretty-print

Compare repositories

Create a local repository on a given path, without remote (only for external tools, not to be mistaken for an opam repo with a local url)

val check_digest : OpamTypes.filename -> OpamHash.t option -> bool

check_digest file expected check that the file digest is the one expected.

OCaml

Innovation. Community. Security.