package irmin-pack
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Irmin backend which stores values in a pack file
Install
dune-project
Dependency
Authors
Maintainers
Sources
irmin-2.7.2.tbz
sha256=29c68c5001a727aaa7a6842d6204ffa3e24b3544fa4f6af2234cdbfa032f7fdf
sha512=87254dfe640619b678a95c211435c0deaaaac8bec50bba711757dd610c9fe6d9a80938399b7e2bb7bc813116eebc82bf3474b281d1afcd1031586f3d51579925
doc/src/irmin-pack/pack_store_intf.ml.html
Source file pack_store_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59open! Import (** A [Pack_store.S] is a closeable, persistent implementation of {!Content_addressable.S} that uses an append-only file of variable-length data blocks. The data file is indexed by hash via {!Pack_index.S} implementation. *) module type S = sig include Content_addressable.S type index val v : ?fresh:bool -> ?readonly:bool -> ?lru_size:int -> index:index -> string -> read t Lwt.t val sync : ?on_generation_change:(unit -> unit) -> 'a t -> unit (** syncs a readonly instance with the files on disk. The same file instance is shared between several pack instances. Therefore only the first pack instance that checks a generation change, can see it. [on_generation_change] is a callback for all pack instances to react to a generation change. *) val flush : ?index:bool -> ?index_merge:bool -> 'a t -> unit val version : _ t -> Version.t val offset : 'a t -> int63 val clear_caches : 'a t -> unit (** [clear_cache t] clears all the in-memory caches of [t]. Persistent data are not removed. *) (** @inline *) include S.Checkable with type 'a t := 'a t and type key := key end module type Maker = sig type key type index (** Save multiple kind of values in the same pack file. Values will be distinguished using [V.magic], so they have to all be different. *) module Make (V : Pack_value.S with type hash := key) : S with type key = key and type value = V.t and type index = index end module type Sigs = sig module type S = S module type Maker = Maker module Maker (V : Version.S) (Index : Pack_index.S) (K : Irmin.Hash.S with type t = Index.key) : Maker with type key = K.t and type index = Index.t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>