OpamFile.RepoRepository metadata
include IO_FILEval empty : tEmpty file
val write : OpamTypes.filename -> t -> unitWrite some contents to a file
val read : OpamTypes.filename -> tRead file contents. Raise an error if the file does not exist.
val safe_read : OpamTypes.filename -> tRead file contents. Return empty if the file does not exist.
val read_from_channel : ?filename:OpamTypes.filename -> in_channel -> tRead from channel.
val read_from_string : ?filename:OpamTypes.filename -> string -> tval write_to_channel : out_channel -> t -> unitWrite to channel.
val create :
?browse:string ->
?upstream:string ->
?opam_version:string ->
?redirect:(string * OpamTypes.filter option) list ->
unit ->
tval opam_version : t -> OpamVersion.tThe minimum OPAM version required for this repository
val browse : t -> string optionBase URL for browsing packages on the WWW
val upstream : t -> string optionBase URL for browsing OPAM repository source on the WWW
val redirect : t -> (string * OpamTypes.filter option) listRedirections.