OpamFile.Repo

# Module OpamFile.Repo

    module Repo: sig .. end

Repository metadata

    include OpamFile.IO_FILE

    val create : ?browse:string ->
           ?upstream:string ->
           ?opam_version:string ->
           ?redirect:(string * OpamTypes.filter option) list -> unit -> t

    val opam_version : t -> OpamVersion.t

The minimum OPAM version required for this repository

    val browse : t -> string option

Base URL for browsing packages on the WWW

    val upstream : t -> string option

Base URL for browsing OPAM repository source on the WWW

    val redirect : t -> (string * OpamTypes.filter option) list

Redirections.