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.9.1.tbz
sha256=3b278c5b982cab87cc1164668733eadaa6ab74566d323a1093a98c2b3e7e0ece
sha512=dd153a505453d002d6e64ad49bdfdb57701127013109a5b5f13914e8d37368276f41e14545b7038a946c89ed983e4433866cc29c4ea74d8b5e7753a020e37ae5

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.