Add the branch accessor
This commit is contained in:
parent
73bdcba54b
commit
a8ab45f2be
2 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,8 @@ let connect ctx endpoint =
|
||||||
let _r = to_invalid r in
|
let _r = to_invalid r in
|
||||||
Lwt.return t
|
Lwt.return t
|
||||||
|
|
||||||
|
let branch t = t.branch
|
||||||
|
|
||||||
type key = Mirage_kv.Key.t
|
type key = Mirage_kv.Key.t
|
||||||
|
|
||||||
type change = [
|
type change = [
|
||||||
|
|
|
@ -40,6 +40,8 @@ val connect : Mimic.ctx -> string -> t Lwt.t
|
||||||
@raise [Invalid_argument _] if we can not initialize the store, or if
|
@raise [Invalid_argument _] if we can not initialize the store, or if
|
||||||
we can not fetch the given [remote]. *)
|
we can not fetch the given [remote]. *)
|
||||||
|
|
||||||
|
val branch : t -> Git.Reference.t
|
||||||
|
|
||||||
val to_octets : t -> string Lwt.t
|
val to_octets : t -> string Lwt.t
|
||||||
(** [to_octets store] returns a serialized version of the given [store]. *)
|
(** [to_octets store] returns a serialized version of the given [store]. *)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue