Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Signature for repository handlers and some helpers for the repository type
module type S = sig ... end
Backend signature
val to_string : OpamTypes.repository -> string
Pretty-print
val to_json : OpamTypes.repository -> OpamTypes.json
val compare : OpamTypes.repository -> OpamTypes.repository -> int
Compare repositories
val local : OpamTypes.dirname -> OpamTypes.repository
Create a local repository on a given path, without remote (only for external tools, not to be mistaken for an opam repo with a local url)
val check_digest : OpamTypes.filename -> OpamHash.t option -> bool
check_digest file expected
check that the file
digest is the one expected
.