From 6a3d8be32a901f2df40abe940b3c0b9c15003aaf Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 22 Nov 2016 21:42:32 +0100 Subject: [PATCH] Remove tempfile namespace. --- backend/src/uxbox/util/tempfile.clj | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 backend/src/uxbox/util/tempfile.clj diff --git a/backend/src/uxbox/util/tempfile.clj b/backend/src/uxbox/util/tempfile.clj deleted file mode 100644 index 273c72212..000000000 --- a/backend/src/uxbox/util/tempfile.clj +++ /dev/null @@ -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 - -(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)))