package git-unix

  1. Overview
  2. Docs
Virtual package to install and configure ocaml-git's Unix backend

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.11.0.tbz
sha256=06e312114664f8802f529b0f9c241ce3628b0ceae71759c466b41a2b6a8ac2dd
sha512=5d61346452538bd3eb489772ad7272f727cca03580f88043bd29b6412ffd2c50c4c7eb87be41ae30d1be4b21fbe2d26400e5fc3b46950ff93091b2669d263178

doc/git-unix.index/Git_index/index.html

Module Git_indexSource

Sourcetype _ hash =
  1. | SHA1 : Digestif.SHA1.t hash
Sourcemodule Entry : sig ... end
Sourcetype 'oid t
Sourceval exists : 'oid t -> Fpath.t -> bool
Sourceval find : 'oid t -> Fpath.t -> 'oid Entry.t option
Sourceval replace : 'oid t -> 'oid Entry.t -> unit
Sourceval add : hash:'oid hash -> Fpath.t -> 'oid t -> (unit, [> Rresult.R.msg ]) result
Sourceval rem : Fpath.t -> 'oid t -> unit
Sourceval make : ?version:int -> 'oid hash -> 'oid t
Sourceval load : hash:'oid hash -> Fpath.t -> ('oid t, [> Rresult.R.msg ]) result
Sourceval store : hash:'oid hash -> append:('fd -> Bigstringaf.t -> 'fd) -> 'fd -> 'oid t -> 'fd
Sourceval store_to_path : hash:'oid hash -> Fpath.t -> 'oid t -> (unit, [> Rresult.R.msg ]) result
Sourcetype 'oid elt = [
  1. | `Tree of Fpath.t
  2. | `Blob of 'oid Entry.t
]
Sourceval fold : f: ([ 'oid elt | `Root ] -> 'oid elt list -> 'a -> ('a, [> Rresult.R.msg ] as 'err) result Lwt.t) -> 'a -> 'oid t -> ('a, 'err) result Lwt.t
OCaml

Innovation. Community. Security.