package vhd-format-lwt

  1. Overview
  2. Docs

Module Vhd_format_lwt.IOSource

Lwt file I/O

Sourceval debug_io : bool ref
include Vhd_format.S.FILE with type 'a t = 'a Lwt.t
include Vhd_format.S.TIME
Sourceval now : unit -> int32
Sourcetype fd
include Vhd_format.S.RW with type handle := fd with type 'a t = 'a Lwt.t
include Vhd_format.S.ASYNC with type 'a t = 'a Lwt.t
Sourcetype 'a t = 'a Lwt.t
Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Sourceval fail : exn -> 'a t
Sourceval return : 'a -> 'a t
Sourceval really_read : fd -> int64 -> Cstruct.t -> unit t
Sourceval really_write : fd -> int64 -> Cstruct.t -> unit t
Sourceval exists : string -> bool t
Sourceval openfile : string -> bool -> fd t
Sourceval fsync : fd -> unit
Sourceval create : string -> fd t
Sourceval close : fd -> unit t
Sourceval get_file_size : string -> int64 t
Sourceval get_modification_time : string -> int32 t
Sourceval lseek : fd -> int64 -> Unix.seek_command -> int64 t
Sourceval lseek_data : fd -> int64 -> int64 t
Sourceval lseek_hole : fd -> int64 -> int64 t
Sourceval to_file_descr : fd -> Lwt_unix.file_descr
OCaml

Innovation. Community. Security.