Branch Store
Manipulate relations between branches and commits.
mem r b is true iff b is present in r.
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.
set t b c bounds c to b in t.
remove t b removes b from t.
list t is the list of branches present in t.
watch t b f calls f on every change in b.
watch_all t f calls f on every branch-related change in t, including creation/deletion events.
Base functions for branches.
include Branch.S with type t = branch
Signature for Branches
The name of the main branch.
Check if the branch is valid.