package datakit-ci

  1. Overview
  2. Docs

Datakit client library.

type t
type error = private [>
  1. | `Already_exists
  2. | `Does_not_exist
  3. | `Is_dir
  4. | `Not_dir
  5. | `Not_file
]
val pp_error : error Fmt.t
type !'a or_error = ('a, error) Result.result
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.