package opam-repository
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@exn.st>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
md5=33de6843fe6e44bf715623fe5fa42d32
sha512=512fc80cf12d277c226bbeed14ce4aeef7ec4aeaa970e76dddf9fb763b310b0209284fd6c83773b3fa63e42c7f09ddf6e3c6b84a0db2de6cc9e58a933124f2b3
doc/opam-repository/OpamRepositoryBackend/index.html
Module OpamRepositoryBackendSource
Signature for repository handlers and some helpers for the repository type
type update = | Update_full of OpamRepositoryRoot.t(*No previous known state, the full contents have been put in the given directory
*)| Update_patch of OpamTypes.filename * Patch.t list(*A patch file that corresponds to the update, i.e. applying it to the local repository with 'patch -p1' would get it to the upstream state, and its and its list of file-level operations
*)| Update_empty(*The repository is already up to date
*)| Update_err of exn(*Failed to obtain the update
*)
Type returned by repository updates.
Pretty-print
Compare repositories
check_digest file expected check that the file digest is the one expected.
val job_text :
OpamTypes.repository_name ->
string ->
'a OpamProcess.job ->
'a OpamProcess.jobAdds a label to the given job, for the corresponding repository name and action
val get_diff :
OpamRepositoryRoot.t ->
OpamRepositoryRoot.t ->
(OpamTypes.filename * Patch.t list) optionget_diff dir1 dir2 computes the diff between the two repository root (directory or tar gz archive), returns None if they are equal, and the corresponding patch and the list of file-changes otherwise.