Module Internal_pervasives.System

Some Lwt_unix functions.

val sleep : float -> (unit, [> System_error.t ]) Attached_result.t Lwt.t
val write_file : < application_name : string.. > Base_state.t -> ?perm:Unix.file_perm -> Lwt_io.file_name -> content:string -> (unit, [> System_error.t ]) Attached_result.t Lwt.t
val read_file : < application_name : string.. > Base_state.t -> Lwt_io.file_name -> (string, [> System_error.t ]) Attached_result.t Lwt.t
val size : < application_name : string.. > Base_state.t -> string -> (int, [> System_error.t ]) Attached_result.t Lwt.t
val command : < application_name : string.. > Base_state.t -> string -> (bool, [> System_error.t ]) Asynchronous_result.t
val ensure_directory_path_exn : ?perm:Lwt_unix.file_perm -> string -> unit Lwt.t
val editor_opt : < application_name : string.. > Base_state.t -> (string option, [> System_error.t ]) Asynchronous_result.t
val editor : < application_name : string.. > Base_state.t -> (string, [> System_error.t ]) Asynchronous_result.t