OpamDirTrackSourceuniquely identifies a filesystem item value
Defines a change concerning a fs item; The digest parameter is the new value of the item
val track :
OpamFilename.Dir.t ->
?except:OpamFilename.Base.Set.t ->
(unit -> 'a OpamProcess.job) ->
('a * t) OpamProcess.jobWraps 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)
val revert :
?title:string ->
?verbose:bool ->
?force:bool ->
?dryrun:bool ->
OpamFilename.Dir.t ->
t ->
unitRemoves 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.
val check :
OpamFilename.Dir.t ->
t ->
(OpamFilename.t * [ `Unchanged | `Removed | `Changed ]) listChecks the items that were added or kind-changed in the given diff, and returns their status