package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.4.9.tar.gz
md5=e22c6340b9af0a626a90ab03972f282a

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: 04 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

None

Used by (7)

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

Conflicts (5)

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