0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

Remove tempfile namespace.

This commit is contained in:
Andrey Antukh 2016-11-22 21:42:32 +01:00
parent 5fc7dd95f7
commit 6a3d8be32a
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -1,17 +0,0 @@
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.util.tempfile
"A temporal file abstractions."
(:require [storages.core :as st]
[storages.util :as path])
(:import [java.nio.file Files]))
(defn create
"Create a temporal file."
[& {:keys [suffix prefix]}]
(->> (path/make-file-attrs "rwxr-xr-x")
(Files/createTempFile prefix suffix)))