package dune

  1. Overview
  2. Docs
Fast, portable and opinionated build system

Install

Dune Dependency

Authors

Maintainers

Sources

dune-1.6.3.tbz
sha256=bfd52160d88578c404af1267abfba6eb4928988e51aef0e92dbebdea1607ae36
md5=1212a36547d25269675d767c38fecf5f

doc/dune._stdune/Stdune/Io/String_path/index.html

Module Io.String_path

type path = string
val open_in : ?binary:bool -> path -> in_channel
val open_out : ?binary:bool -> path -> out_channel
val with_file_in : ?binary:bool -> path -> f:(in_channel -> 'a) -> 'a
val with_file_out : ?binary:bool -> 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 read_file : ?binary:bool -> path -> string
val write_file : ?binary:bool -> path -> string -> unit
val compare_files : path -> path -> Ordering.t
val compare_text_files : path -> path -> Ordering.t
val write_lines : path -> string list -> unit
val copy_file : ?chmod:(int -> int) -> src:path -> dst:path -> unit -> unit
OCaml

Innovation. Community. Security.