package eio

  1. Overview
  2. Docs
type t
val open_in : t -> sw:Switch.t -> path -> File.ro_ty Std.r
val open_out : t -> sw:Switch.t -> append:bool -> create:create -> path -> File.rw_ty Std.r
val mkdir : t -> perm:File.Unix_perm.t -> path -> unit
val open_dir : t -> sw:Switch.t -> path -> [ `Close | dir_ty ] Std.r
val read_dir : t -> path -> string list
val stat : t -> follow:bool -> string -> File.Stat.t
val rmdir : t -> path -> unit
val rename : t -> path -> _ dir -> path -> unit
val pp : t Fmt.t
val native : t -> string -> string option