Future_unix.Readermodule Read_result : sig ... endval open_file : ?buf_len:int -> string -> t Deferred.tDifference from Async: implementations should try to use buf_len but are not required to.
val close : t -> unit Deferred.tval with_file :
?buf_len:int ->
string ->
f:(t -> 'a Deferred.t) ->
'a Deferred.tDifference from Async: implementations should try to use buf_len but are not required to.
val read_line : t -> string Read_result.t Deferred.tval read_all : t -> (t -> 'a Read_result.t Deferred.t) -> 'a Pipe.Reader.tval lines : t -> string Pipe.Reader.tval contents : t -> string Deferred.tval file_contents : string -> string Deferred.tval file_lines : string -> string list Deferred.t