package irmin-pack
Irmin backend which stores values in a pack file
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-2.8.0.tbz
sha256=652aa550ba01cb174310f8d46f3c484619e216b2f954e1f478c144cf42804b57
sha512=d1a25bd025530a5d5b6ad86e9b41146d8c406da81998740df984d9b45047917a8d1a5330eb0b195ee5a2d25769a62bfde5b8c4389f9296ac25333791272e22de
doc/irmin-pack.layered/Irmin_pack_layered/Maker_ext/Branch/index.html
Module Maker_ext.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