package opam-core
Core library for opam 2.0
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
2.0.9.tar.gz
md5=abb7d7788f290d81d73b924b307b4bef
sha512=0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
doc/opam-core/OpamDirTrack/index.html
Module OpamDirTrack
Source
uniquely identifies a filesystem item value
Defines a change concerning a fs item; The digest
parameter is the new value of the item
Source
val track :
OpamFilename.Dir.t ->
?except:OpamFilename.Base.Set.t ->
(unit -> 'a OpamProcess.job) ->
('a * t) OpamProcess.job
Wraps a job to track the changes that happened under dirname
during its execution (changes done by the application of the job function to ()
are tracked too, for consistency with jobs without commands)
Source
val revert :
?title:string ->
?verbose:bool ->
?force:bool ->
?dryrun:bool ->
OpamFilename.Dir.t ->
t ->
unit
Removes the added and kind-changed items unless their contents changed and force
isn't set, and prints warnings for other changes unless verbose
is set to false
. Ignores non-existing files. title
is used to prefix messages if specified.
Source
val check :
OpamFilename.Dir.t ->
t ->
(OpamFilename.t * [ `Unchanged | `Removed | `Changed ]) list
Checks the items that were added or kind-changed in the given diff, and returns their status
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>