package git-unix

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-2.1.3.tbz
sha256=5d614ae0404a2438c5cee98bf4aa64cee9980e2a382a437acd6ee65dcca6f4de
sha512=9a863552ad7fddfa37d92738dd1c793e888a3c544f97a7634aa9ed5cef1ca22db4e6bfa1908c58986af0bf1dcd665ba63308c1656e68397b7a87f1a09e94fe97

doc/git-unix.top/Git_top/Graph/Store/index.html

Module Graph.Store

module Hash : sig ... end
module Inflate : sig ... end
module Deflate : sig ... end
module Value : sig ... end
module Reference : sig ... end
type t = Store.t
type error = Store.error
val pp_error : error Fmt.t
type buffer = Store.buffer
val default_buffer : unit -> buffer
val buffer : ?ztmp:Cstruct.t -> ?etmp:Cstruct.t -> ?dtmp:Cstruct.t -> ?raw:Cstruct.t -> ?window:Inflate.window -> unit -> buffer
val dotgit : t -> Fpath.t
val root : t -> Fpath.t
val compression : t -> int
val contents : t -> ((Hash.t * Value.t) list, error) result Lwt.t
val size : t -> Hash.t -> (int64, error) result Lwt.t
val read : t -> Hash.t -> (Value.t, error) result Lwt.t
val read_exn : t -> Hash.t -> Value.t Lwt.t
val mem : t -> Hash.t -> bool Lwt.t
val list : t -> Hash.t list Lwt.t
val write : t -> Value.t -> (Hash.t * int, error) result Lwt.t
val fold : t -> ('acc -> ?name:Git.Path.t -> length:int64 -> Hash.t -> Value.t -> 'acc Lwt.t) -> path:Git.Path.t -> 'acc -> Hash.t -> 'acc Lwt.t
val iter : t -> (Hash.t -> Value.t -> unit Lwt.t) -> Hash.t -> unit Lwt.t
module Pack : sig ... end
module Ref : sig ... end
val reset : t -> (unit, error) result Lwt.t
val clear_caches : t -> unit Lwt.t
val read_inflated : t -> Hash.t -> ([ `Blob | `Commit | `Tag | `Tree ] * Cstruct.t) option Lwt.t
val write_inflated : t -> kind:[ `Blob | `Commit | `Tag | `Tree ] -> Cstruct.t -> Hash.t Lwt.t
val has_global_watches : bool
val has_global_checkout : bool