Make_json.Commandmodule Conn : Irmin_server.Conn.Smodule Store = StoreIrmin Store type
module Tree :
Irmin_server.Tree.S
with type kinded_key = Store.Tree.kinded_key
and type concrete = Store.Tree.concreteTree wraps Store.Tree to avoid encoding/decoding trees more than needed
module Commit : sig ... endCommits
module Server_info : sig ... endUsed to track information about the server
type context = {conn : Conn.t;config : Irmin.Backend.Conf.t;repo : Store.Repo.t;mutable watch : Store.watch option;mutable branch_watch : Store.Backend.Branch.watch option;}context is passed to every command as the first argument
module type CMD = sig ... endtype t = (module CMD)Command type
val name : t -> stringGet the name of a command
val of_name : string -> tFind a command by name, the name should be lowercase
val commands : (string * t) listA list of all registered commands
module Commands : sig ... end