package datakit-client

  1. Overview
  2. Docs

Parameters

Signature

include Datakit_S.CLIENT with type error = Protocol_9p_error.error
type t
val pp_error : error Fmt.t
type !'a or_error = ('a, error) Result.result
val error : ('a, unit, string, 'b or_error Lwt.t) Pervasives.format4 -> 'a
module Tree : sig ... end
module Commit : sig ... end
module Transaction : sig ... end
module Branch : sig ... end
val branches : t -> string list or_error Lwt.t
val remove_branch : t -> string -> unit or_error Lwt.t
val branch : t -> string -> Branch.t or_error Lwt.t
val commit : t -> string -> Commit.t
val tree : t -> string -> Tree.t
val fetch : t -> url:string -> branch:string -> Commit.t or_error Lwt.t
val disconnect : t -> unit Lwt.t
val connect : P9p.t -> t

connect c is a Datakit connection using the 9p connection c.