OpamRepositoryBackendmodule type S = sig ... endBackend signature
val to_string : OpamTypes.repository -> stringPretty-print
val to_json : OpamTypes.repository -> OpamTypes.jsonval compare : OpamTypes.repository -> OpamTypes.repository -> intCompare repositories
val default_address : OpamTypes.addressThe address for the default OPAM repository (currently: https://opam.ocaml.org/)
val default : unit -> OpamTypes.repositoryThe default OPAM repository (named "default", upstream at default_address)
val local : OpamTypes.dirname -> OpamTypes.repositoryCreate a local repository on a given path
val check_digest : OpamTypes.filename -> string option -> boolcheck_digest file expected check that the file digest is the one expected.