File: test_unix.mli

package info (click to toggle)
lwt 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,348 kB
  • sloc: ml: 20,374; ansic: 6,933; makefile: 184; sh: 87; python: 62
file content (14 lines) | stat: -rw-r--r-- 537 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(* This file is part of Lwt, released under the MIT license. See LICENSE.md for
   details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *)



val temp_name : unit -> string
(** Generates the name of a temporary file (or directory) in [_build/]. Note
    that a file at the path may already exist. *)

val temp_file : unit -> string
(** Creates a temporary file in [_build/] and evaluates to its path. *)

val temp_directory : unit -> string
(** Creates a temporary directory in [build/] and evaluates to its path. *)