package vhd-format

  1. Overview
  2. Docs
val now : unit -> int32
val alloc : int -> Cstruct.t
type fd
type 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val fail : exn -> 'a t
val return : 'a -> 'a t
val really_read : fd -> int64 -> int -> Cstruct.t t
val really_write : fd -> int64 -> Cstruct.t -> unit t
val really_read_into : fd -> int64 -> Cstruct.t -> Cstruct.t t
val exists : string -> bool t
val openfile : string -> bool -> fd t
val fsync : fd -> unit
val create : string -> fd t
val close : fd -> unit t
val get_file_size : string -> int64 t
val get_modification_time : string -> int32 t
OCaml

Innovation. Community. Security.