package irmin-pack
Irmin backend which stores values in a pack file
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-2.7.1.tbz
sha256=fac7c032f472fb369378ad2d8fe77e7cd3b3c1c6a0d7bf59980b69528891b399
sha512=06db1c4e90d43bdfbea2d4f15037eef77207877c05019a6ce0f7f7771afe7d9200da019e3d845ff98ee86947f3e538e1521d818e6d6ddd97105fcaeb746fe418
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