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.16.1.tbz
sha256=c035bdcccd9e4d2f48c6d9cdc65e61fc10838ecf1d8a6f2a376ae20a8a924803
sha512=8173b5f64ad2e142aa6bd7a1c5b7d895a9e3fbf90b192d8021a32abb9430b62dd426d4b9b5856698fbae1a1bca2c30a22c270f6d361874c3d846533320ca51ea

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.