package opam-lib
The OPAM library
Install
Dune Dependency
Authors
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
AAnil Madhavapeddy <anil@recoil.org>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
Maintainers
Sources
1.3.1.tar.gz
sha256=625767c3465219cc8799aad1449c74279b31686db0821300cfdb92fbff17e9fd
md5=e0688c0cf9a55f93ee93f62d07cf6b74
doc/opam-lib.repository/OpamVCS/module-type-VCS/index.html
Module type OpamVCS.VCS
Each backend should implement this signature.
val name : OpamTypes.repository_kind
val exists : OpamTypes.repository -> bool
Test whether the given repository is correctly initialized.
val init : OpamTypes.repository -> unit OpamProcess.job
Init a repository.
val fetch : OpamTypes.repository -> 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.
val reset : OpamTypes.repository -> unit OpamProcess.job
Reset the master branch of the repository to match the remote repository state.
val diff : OpamTypes.repository -> bool OpamProcess.job
Check whether the staging area is empty. Returns true if not (eg. there is an update pending)
val revision : OpamTypes.repository -> string OpamProcess.job
Return the HEAD revision.
val versionned_files : OpamTypes.repository -> string list OpamProcess.job
Returns the list of files under version control
val vc_dir : OpamTypes.repository -> OpamTypes.dirname
Returns the absolute directory name for vc data (e.g. .../project/.git
)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>