package opam-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val exists : OpamTypes.repository -> bool

Test whether the given repository is correctly initialized.

Init a repository.

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.

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

Returns the absolute directory name for vc data (e.g. .../project/.git)

OCaml

Innovation. Community. Security.