Module Io_legacy.Unix

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 mkdir : string -> unit
val version : t -> Irmin_pack.Version.t
val set_version : t -> Irmin_pack.Version.t -> unit