package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Versions of with_temp_file and with_temp_dir that are suitable for use with concurrency monads.

Parameters

module M : sig ... end

Signature

val with_temp_file : dir:Path.t -> prefix:string -> suffix:string -> f:(Path.t Or_exn.t -> 'a M.t) -> 'a M.t
val with_temp_dir : parent_dir:Path.t -> prefix:string -> suffix:string -> f:(Path.t Or_exn.t -> 'a M.t) -> 'a M.t