Public Vars

Back

with-temp-dir (clj)

(source)

macro

(with-temp-dir [binding-name options & more] & body)
Evaluate body with binding-name bound to a temporary directory. The directory is created by passing `options` to `create-temp-dir`, and will be removed with `delete-tree` on exit from the scope. `options` is a map with the keys as for create-temp-dir.

Examples