package testo-util

  1. Overview
  2. Docs

Module Testo_util.HelpersSource

Sourceval list_map : ('a -> 'b) -> 'a list -> 'b list
Sourceval list_flatten : 'a list list -> 'a list
Sourceval split_result_list : ('a, 'b) Result.t list -> 'a list * 'b list
Sourceval string_for_all : (char -> bool) -> string -> bool
Sourceval make_dir_if_not_exists : ?recursive:bool -> Fpath.t -> unit
Sourceval list_files : Fpath.t -> string list
Sourceval input_all : in_channel -> string
Sourceval remove_file_or_dir : Fpath.t -> unit
Sourceval contains_pcre_pattern : pat:string -> string -> bool
Sourceval contains_substring : sub:string -> string -> bool
Sourceval write_text_file : Fpath.t -> string -> unit
Sourceval read_text_file : Fpath.t -> string
Sourceval map_text_file : (string -> string) -> Fpath.t -> Fpath.t -> unit
Sourceval copy_text_file : Fpath.t -> Fpath.t -> unit
Sourceval chdir : Fpath.t -> unit
Sourceval with_chdir : Fpath.t -> (unit -> 'a) -> 'a
Sourceval with_opt_chdir : Fpath.t option -> (unit -> 'a) -> 'a