package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type path := string
val v : version:Irmin_pack.Version.t option -> fresh:bool -> readonly:bool -> path -> t
val name : t -> string
val append : t -> string -> unit
val set : t -> off:Optint.Int63.t -> string -> unit
val read : t -> off:Optint.Int63.t -> bytes -> int
val read_buffer : t -> off:Optint.Int63.t -> buf:bytes -> len:int -> int
val offset : t -> Optint.Int63.t
val force_offset : t -> Optint.Int63.t
val readonly : t -> bool
val flush : t -> unit
val close : t -> unit
val exists : string -> bool
val size : t -> int
val truncate : t -> unit

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

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

Innovation. Community. Security.