package opam-repository
Install
Dune Dependency
Authors
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
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=1e55c234fa09e678e8115a31f3ec2a05
sha512=d71c362d70a6b6cb9fe54cc43bfbea8079cca05d4721a7dda951196f543a1ff5af81399a246e0cd68bc590c7bdca388d96c7127217ed637261957047ce725516
doc/opam-repository/OpamGit/VCS/index.html
Module OpamGit.VCS
Source
Test whether the given repository is correctly initialized.
Init a repository.
val fetch :
?cache_dir:OpamTypes.dirname ->
OpamTypes.dirname ->
OpamTypes.url ->
unit OpamProcess.job
Fetch changes from upstream. This is supposed to put the changes in a staging area. Be aware that the remote URL might have been changed, so make sure to update accordingly.
Reset the master branch of the repository to match the remote repository state. This might still fetch more data (git submodules...), so is unsuitable for running after validation.
Confirm that applying the patch results in a clean synchronization of the working tree with its repository state.
Returns the pending modifications in the form of a patch file, or None if dirname
is up to date with what was last fetched.
Returns true if the last fetched state is equal to the current, on-disk state
Returns an backend-specific identifier for the current revision.
Returns the list of files under version control
Returns the absolute directory name for vc data (e.g. .../project/.git
)
Returns the currently selected branch handle. It should be valid as the hash
field of OpamUrl.t
.
Returns true if the working tree state is different from the state recorded in the VCS as current. This differs from is_up_to_date
, which compares specifically to the last fetched state. This should always be false
after reset
has been called.