package opam-repository

  1. Overview
  2. Docs

Defines the file hierarchy in repositories

Repository local path: $opam/repo/<name>

Update cache

Return the repo file

Packages folder: $opam/repo/$repo/packages

val packages : OpamTypes.repository -> string option -> OpamTypes.package -> OpamTypes.dirname

Package folder: $opam/repo/$repo/packages/XXX/$NAME.$VERSION

Return the OPAM file for a given package: $opam/repo/$repo/packages/XXX/$NAME.$VERSION/opam

Return the description file for a given package: $opam/repo/$repo/packages/XXX/$NAME.VERSION/descr

urls $opma/repo/$repo/package/XXX/$NAME.$VERSION/url

val files : OpamTypes.repository -> string option -> OpamTypes.package -> OpamTypes.dirname

files $opam/repo/$repo/packages/XXX/$NAME.$VERSION/files

Return the archive for a given package: $opam/repo/$repo/archives/$NAME.$VERSION.tar.gz

Return the archive folder: $opam/repo/$repo/archives/

Return the upload folder for a given version: $opam/repo/$repo/upload/

module Remote : sig ... end

Url constructor for parts of remote repositories, when applicable (http and rsync)

OCaml

Innovation. Community. Security.