package irmin-server

  1. Overview
  2. Docs
A high-performance server for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-server.unix/Irmin_server_unix/Make/Command/index.html

Module Make.CommandSource

Sourcemodule Store = Store

Irmin Store type

Sourcemodule Tree : Irmin_server.Tree.S with type kinded_key = Store.Tree.kinded_key and type concrete = Store.Tree.concrete

Tree wraps Store.Tree to avoid encoding/decoding trees more than needed

Sourcemodule Commit : sig ... end

Commits

Sourcemodule Server_info : sig ... end

Used to track information about the server

Sourcetype context = {
  1. conn : Conn.t;
  2. config : Irmin.Backend.Conf.t;
  3. repo : Store.Repo.t;
  4. mutable watch : Store.watch option;
  5. mutable branch_watch : Store.Backend.Branch.watch option;
}

context is passed to every command as the first argument

Sourcemodule type CMD = sig ... end
Sourcetype t = (module CMD)

Command type

Sourceval name : t -> string

Get the name of a command

Sourceval of_name : string -> t

Find a command by name, the name should be lowercase

Sourceval commands : (string * t) list

A list of all registered commands

Sourcemodule Commands : sig ... end
OCaml

Innovation. Community. Security.