package irmin
Irmin, a distributed database that follows the same design principles as Git
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-2.10.2.tbz
sha256=088741b619471c8198e74aaf9f4aeb4a9997abec8b9abcbfb3443fd27bfb433f
sha512=bbc03417d6eb87d99bee391c489d23a586b0a260e4c797f5e2465c3ab67cb627a9efa526097c1b89dd3339eafb8bad738c1cf0502e5c70355871ff7dbba324b9
doc/irmin.mem/Irmin_mem/Make/Branch/index.html
Module Make.Branch
Source
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
.
Source
val watch :
repo ->
branch ->
?init:commit ->
(commit Irmin.Diff.t -> unit Lwt.t) ->
watch Lwt.t
watch t b f
calls f
on every change in b
.
Source
val watch_all :
repo ->
?init:(branch * commit) list ->
(branch -> commit Irmin.Diff.t -> 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.
include Irmin.Branch.S with type t = branch
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