package eio

  1. Overview
  2. Docs

Note: use the functions in Path to access directories.

method probe : 'a. 'a Eio__.Generic.ty -> 'a option
method virtual open_in : sw:Eio__core.Switch.t -> path -> < close : unit ; pread : file_offset:Optint.Int63.t -> Cstruct.t list -> int ; probe : 'a. 'a Eio__.Generic.ty -> 'a option ; read_into : Cstruct.t -> int ; read_methods : Eio__.Flow.read_method list ; stat : Eio__.File.Stat.t >
method virtual open_out : sw:Eio__core.Switch.t -> append:bool -> create:create -> path -> < close : unit ; copy : 'b. Eio__.Flow.source as 'c -> unit ; pread : file_offset:Optint.Int63.t -> Cstruct.t list -> int ; probe : 'a. 'a Eio__.Generic.ty -> 'a option ; pwrite : file_offset:Optint.Int63.t -> Cstruct.t list -> int ; read_into : Cstruct.t -> int ; read_methods : Eio__.Flow.read_method list ; stat : Eio__.File.Stat.t ; write : Cstruct.t list -> unit >
method virtual mkdir : perm:Eio__.File.Unix_perm.t -> path -> unit
method virtual open_dir : sw:Eio__core.Switch.t -> path -> dir_with_close
method virtual read_dir : path -> string list
method virtual rmdir : path -> unit
method virtual rename : path -> dir -> path -> unit
method virtual pp : Stdlib.Format.formatter -> unit
OCaml

Innovation. Community. Security.