package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.2.1.tbz
sha256=9cfb7291a7d90ca0e55ece33040ad41e74cadd8c6446e04c33558bc1a1951518
sha512=9605acd77de9aae70ae96554a28594e6ed5beba70a48145c0fc2204b32bb23b843ba98cf034e88391581d5f3495154195c644d64a3aa3f8d3994a9c5518c5cda

doc/irmin-pack.unix/Irmin_pack_unix/IO/Unix/index.html

Module IO.UnixSource

Sourcetype t
type path := string
Sourceval v : version:Irmin_pack.Version.t option -> fresh:bool -> readonly:bool -> path -> t
Sourceval name : t -> string
Sourceval append : t -> string -> unit
Sourceval set : t -> off:Optint.Int63.t -> string -> unit
Sourceval read : t -> off:Optint.Int63.t -> bytes -> int
Sourceval read_buffer : t -> off:Optint.Int63.t -> buf:bytes -> len:int -> int
Sourceval offset : t -> Optint.Int63.t
Sourceval force_offset : t -> Optint.Int63.t
Sourceval readonly : t -> bool
Sourceval flush : t -> unit
Sourceval close : t -> unit
Sourceval exists : string -> bool
Sourceval size : t -> int
Sourceval truncate : t -> unit

Sets the length of the underlying IO to be 0, without actually purging the associated data.

Sourceval version : t -> Irmin_pack.Version.t
Sourceval set_version : t -> Irmin_pack.Version.t -> unit
OCaml

Innovation. Community. Security.