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.18.0.tbz
sha256=925795627e6daae0b4bd16aa506879df11cb201e65fefe38e81378f18d517d4b
sha512=8e407d49808ec26445b0c706f7b010b35050d274b534e265487cb82bcac1f29cd5c41365851d42f84794ddbceb57b90143768a23154117e902b45419d156c410

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.