package irmin-pack
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=2a1e6a7577e498fbfeb678d666da210dc48d1344637e8ecb653e1dd88c640b5f
    
    
  sha512=3fb6f49a1af2f8bab1df5b6f5affaaa09f09fe892a08eb2d9de58138e56646d4a6797f3c087b22875e36e3411218ab2435fe5437ac78f323dd661932af021fad
    
    
  doc/irmin-pack.unix/Irmin_pack_unix/Dict/Make/argument-1-Fm/Index/index.html
Module Fm.Index
An abstraction on top of the index library that exposes an API that better fits the irmin-pack use case.
type value = Optint.Int63.t * int * Irmin_pack.Pack_value.Kind.tinclude Index.S with type value := value and type t := t and type key := key
val empty_cache : unit -> cacheConstruct a new empty cache of index instances.
val clear : t -> unitclear t clears t so that there are no more bindings in it.
replace t k v binds k to v in t, replacing any existing binding of k.
If overcommit is true, the operation does not triger a merge, even if the caches are full. By default overcommit is false.
val sync : t -> unitsync t syncs a read-only index with the files on disk. Raises RW_not_allowed if called by a read-write index.
val is_merging : t -> boolis_merging t returns true if t is running a merge. Raises RO_not_allowed if called by a read-only index.
module Checks : sig ... endOffline fsck-like utility for checking the integrity of Index stores built using this module.
Low level IO abstraction. A typical implementation is unix. This abstraction is meant to be dead simple. Not a lot of documentation is required.
val v_exn : 
  ?flush_callback:(unit -> unit) ->
  ?fresh:bool ->
  ?readonly:bool ->
  ?throttle:[ `Block_writes | `Overcommit_memory ] ->
  ?lru_size:int ->
  log_size:int ->
  string ->
  tval v : 
  ?flush_callback:(unit -> unit) ->
  ?fresh:bool ->
  ?readonly:bool ->
  ?throttle:[ `Block_writes | `Overcommit_memory ] ->
  ?lru_size:int ->
  log_size:int ->
  string ->
  (t, [> create_error ]) resultval reload : t -> (unit, [> write_error ]) resultval close : t -> (unit, [> write_error ]) resultval close_exn : t -> unitval flush : t -> with_fsync:bool -> (unit, [> write_error ]) resultval merge : t -> unitval try_merge : t -> unitmodule Stats = Index.Statsmodule Key : Index.Key.S with type t = key