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:
parent
5fc7dd95f7
commit
6a3d8be32a
1 changed files with 0 additions and 17 deletions
|
@ -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)))
|
Loading…
Add table
Reference in a new issue