package git

  1. Overview
  2. Docs
Git format and protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

1.4.10.tar.gz
md5=c8065e2bb292fafb262fa2ae7ca8fd28

Description

Support for on-disk and in-memory Git stores. Can read and write all the Git objects: the usual blobs, trees, commits and tags but also the pack files, pack indexes and the index file (where the staging area lives).

All the objects share a consistent API, and convenience functions are provided to manipulate the different objects. For instance, it is possible to make a pack file position independant (as the Zlib compression might change the relative offsets between the packed objects), to generate pack indexes from pack files, or to expand the filesystem of a given commit.

The library comes with a command-line tool called ogit which shares a similar interface with git, but where all operations are mapped to the API exposed ocaml-git (and hence using only OCaml code).

Published: 06 Feb 2015

Dependencies (12)

  1. ocamlbuild build
  2. cstruct < "3.2.0"
  3. cmdliner
  4. hex
  5. lwt >= "2.4.7"
  6. uri >= "1.3.12"
  7. nocrypto >= "0.2.0"
  8. camlzip >= "1.05"
  9. ocamlgraph
  10. dolog >= "1.0" & < "4.0.0"
  11. mstruct >= "1.3.1"
  12. ocaml >= "4.01.0" & < "4.06.0"

Dev Dependencies (6)

  1. conduit with-test
  2. cohttp with-test
  3. mirage-types-lwt with-test & < "3.7.0"
  4. mirage-fs-unix with-test
  5. ounit with-test
  6. alcotest with-test

Used by (8)

  1. dog
  2. imaplet-lwt >= "0.1.3" & < "0.1.10"
  3. irmin >= "0.9.0" & != "0.10.1" & < "0.11.1"
  4. irmin-indexeddb >= "2.0"
  5. irmin-unix < "0.9.9"
  6. jitsu
  7. merge-queues >= "0.2.0"
  8. plotkicadsch < "0.5.0"

Conflicts (5)

  1. mirage-types-lwt >= "3.0.0"
  2. alcotest >= "0.4.0"
  3. conduit < "0.6.0" | >= "3.0.0"
  4. cohttp >= "0.18.0"
  5. cohttp <= "0.15.0"
OCaml

Innovation. Community. Security.