package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Inter : sig ... end
module Pack' : sig ... end
type 'a t
type value = Inter.Val.t
val mem : [> Irmin.Perms.read ] t -> key -> bool Lwt.t
val find : [> Irmin.Perms.read ] t -> key -> value option Lwt.t
val close : 'a t -> unit Lwt.t
type hash = H.t
val add : [> Irmin.Perms.write ] t -> value -> key Lwt.t
val unsafe_add : [> Irmin.Perms.write ] t -> hash -> value -> key Lwt.t
val index : [> Irmin.Perms.read ] t -> hash -> key option Lwt.t
val batch : Irmin.Perms.read t -> ([ `Read | `Write ] t -> 'a Lwt.t) -> 'a Lwt.t
module Key : sig ... end
module Hash : sig ... end
module Val : sig ... end
val decode_bin_length : string -> int -> int
val save : ?allow_non_root:bool -> 'a t -> value -> key
type file_manager = Pack'.file_manager
type dict = Pack'.dict
val v : config:Irmin.Backend.Conf.t -> fm:file_manager -> dict:dict -> Irmin.Perms.read t Lwt.t
val integrity_check : offset:Optint.Int63.t -> length:int -> hash -> 'a t -> (unit, [ `Absent_value | `Wrong_hash ]) Stdlib.result
val integrity_check_inodes : [ `Read ] t -> key -> (unit, string) Stdlib.result Lwt.t
module Pack : sig ... end
module Raw : sig ... end
module Snapshot : sig ... end
val to_snapshot : Raw.t -> Snapshot.inode
val of_snapshot : 'a t -> index:(hash -> key) -> Snapshot.inode -> value
OCaml

Innovation. Community. Security.