package datakit-client

  1. Overview
  2. Docs
type t
type error
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
OCaml

Innovation. Community. Security.