package opam-repository

  1. Overview
  2. Docs

Create a backend from a VCS implementation.

Parameters

module VCS : VCS

Signature

val name : OpamUrl.backend

pull_url package local_dir checksum remote_url pull the contents of remote_url into local_dir. Can return either a file or a directory. checksum is the optional expected checksum.

val pull_repo : OpamTypes.repository -> unit OpamProcess.job

pull_repo pull the contents of a repository.

pull_archive repo archive pull archive in the given repository.

Return the (optional) revision of a given repository. Only useful for VCS backends.

OCaml

Innovation. Community. Security.