include Git.S
type error = private [> | `Msg of string| `Not_found of hash| `Reference_not_found of Git__.Reference.t
]val pp_error : error Fmt.tmodule Hash : sig ... endmodule Value : sig ... endval dotgit : t -> Fpath.tval size : t -> hash -> (int64, error) Stdlib.result Lwt.tval read_opt :
t ->
hash ->
(Value.t option, [ `Msg of string ]) Stdlib.result Lwt.tval mem : t -> hash -> bool Lwt.tval list : t -> hash list Lwt.tval batch_write :
t ->
hash ->
pck:(unit -> string option Lwt.t) ->
idx:(unit -> string option Lwt.t) ->
(unit, error) Stdlib.result Lwt.tval fold :
t ->
('acc -> ?name:Fpath.t -> length:int64 -> hash -> Value.t -> 'acc Lwt.t) ->
path:Fpath.t ->
'acc ->
hash ->
'acc Lwt.tval reset : t -> (unit, error) Stdlib.result Lwt.tval read_inflated :
t ->
hash ->
([ `Blob | `Commit | `Tag | `Tree ] * Cstruct.t) option Lwt.tval write_inflated :
t ->
kind:[ `Blob | `Commit | `Tag | `Tree ] ->
Cstruct.t ->
hash Lwt.tval is_shallowed : t -> hash -> bool Lwt.tval shallowed : t -> hash list Lwt.tval shallow : t -> hash -> unit Lwt.tval unshallow : t -> hash -> unit Lwt.tval has_global_watches : boolval has_global_checkout : boolval v : ?dotgit:Fpath.t -> Fpath.t -> (t, error) Stdlib.result Lwt.t