package git-kv

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-kv-0.2.1.tbz
sha256=dc8669aa66f44f8423ced576911ec6bce1943565a99c1a6c6aa67e19db428a90
sha512=0ed3ccb5f352da278d247c11551c6eedcf29897f090a11684005c44d8e4f6a93bfc2fe78e3236a1c5f9e174d12c03bd8d0ace1a8e91ab03c26ba263df10a8442

doc/src/git-kv.sync/neg.ml.html

Source file neg.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type nonrec configuration = Find_common.configuration = {
  stateless: bool;
  mutable multi_ack: [ `None | `Some | `Detailed ];
  no_done: bool;
}

type nonrec 'uid hex = 'uid Find_common.hex = {
  to_hex: 'uid -> string;
  of_hex: string -> 'uid;
  compare: 'uid -> 'uid -> int;
}

type negotiator = Default.t

let make ~compare = Default.make ~compare
let find_common = Find_common.find_common
let tips = Find_common.tips