package irmin-pack
Irmin backend which stores values in a pack file
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-2.10.0.tbz
sha256=58b4d058252fc3fca27aa4704594758ea17b5b549076495b53dea7217bd6e64a
sha512=3f7d7817b708d2be41bf81fb7c8f637e0331cc73ffc49d54ae809982d5f258f62255c892ed22c58688034ffa0aa7d32cb7fadb1b188a22ff0ddf80352da3d28b
doc/irmin-pack.layered/Irmin_pack_layered/Maker/Branch/index.html
Module Maker.Branch
Manipulate branches.
Branch Store
Manipulate relations between branches and commits.
find r b
is Some c
iff c
is bound to b
in t
. It is None
if b
is not present in t
.
get t b
is similar to find
but raise Invalid_argument
if b
is not present in t
.
watch t b f
calls f
on every change in b
.
val watch_all :
repo ->
?init:(branch * commit) list ->
(branch -> commit Irmin__.S.diff -> unit Lwt.t) ->
watch Lwt.t
watch_all t f
calls f
on every branch-related change in t
, including creation/deletion events.
Base functions for branches.
Signature for Branches
type t = branch
The type for branches.
val t : t Irmin__.Type.t
val master : t
The name of the master branch.
val is_valid : t -> bool
Check if the branch is valid.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page