Skip to content

Commit

Permalink
Add a snippet about with-tempdir
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Jun 11, 2014
1 parent 86a9540 commit 3ea9b74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions HISTORY.org
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ Here's a few pertinent links:
- https://github.com/ShaneKilkelly/lein-angular-template


** File system utils
- [[https://github.com/Raynes/fs][fs]] seems quite complete and is on clojars. However ~with-tempdir~ is
not in there. Maybe it can be used as follows:

#+BEGIN_SRC clojure
(with-open [tmpdir (java.nio.file.Files/createTempDirectory "/path" "prefix")]
(println tmpdir))
#+END_SRC

0 comments on commit 3ea9b74

Please sign in to comment.