package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.5.2.tar.gz
sha256=0a7a5a0bc45ecc23f2512368fdfe58c045c70488e4b0ea34706323d3ea097b6a
md5=b9cc888c46ef83550dfba4e3e4eac37b

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: 03 Jul 2015

Dependencies (12)

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

Dev Dependencies (8)

  1. base-unix with-test
  2. conduit with-test
  3. cohttp with-test
  4. mirage-fs-unix with-test & = "1.1.4"
  5. mirage-http with-test
  6. mirage-flow with-test & < "2.0.0"
  7. mirage-types-lwt with-test & < "3.7.0"
  8. alcotest with-test

Used by (8)

  1. dog
  2. imaplet-lwt >= "0.1.3" & < "0.1.15"
  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-flow > "1.1.0"
  2. conduit >= "0.99"
  3. conduit < "0.8.4" | >= "3.0.0"
  4. cohttp >= "0.19.0"
  5. cohttp < "0.18.0"
OCaml

Innovation. Community. Security.