stdune
Dune's unstable standard library
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package stdune
-
stdune
-
-
stdune.filesystem_stubs
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library stdune
val open_in : ?binary:bool -> path -> in_channel
val open_out : ?binary:bool -> ?perm:int -> path -> out_channel
val with_file_in : ?binary:bool -> path -> f:( in_channel -> 'a ) -> 'a
val with_file_out :
?binary:bool ->
?perm:int ->
path ->
f:( out_channel -> 'a ) ->
'a
val with_lexbuf_from_file : path -> f:( Lexing.lexbuf -> 'a ) -> 'a
val lines_of_file : path -> string list
val zero_strings_of_file : path -> string list
Reads zero-separated strings from a file
val read_file : ?binary:bool -> path -> string
val write_file : ?binary:bool -> ?perm:int -> path -> string -> unit
val compare_files : path -> path -> Ordering.t
val compare_text_files : path -> path -> Ordering.t
val write_lines : ?binary:bool -> ?perm:int -> path -> string list -> unit
val setup_copy :
?chmod:( int -> int ) ->
src:path ->
dst:path ->
unit ->
in_channel * out_channel
val file_line : path -> int -> string
val file_lines : path -> start:int -> stop:int -> (string * string) list
val cat : ?binary:bool -> ?dst:out_channel -> path -> unit
reads a file and prints its contents to stdout or the specified channel
ON THIS PAGE
No table of contents