From e22269c885d25962b673504f36db4ddf3b794b7f Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 25 Jan 2024 10:52:02 +0100 Subject: [PATCH] Remove stale function --- src/babashka/fs.cljc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/babashka/fs.cljc b/src/babashka/fs.cljc index a7e5648..c618b80 100644 --- a/src/babashka/fs.cljc +++ b/src/babashka/fs.cljc @@ -496,16 +496,6 @@ (declare posix-file-permissions) (declare set-posix-file-permissions) -(defn- u+wx - [f] - (if win? - (.setWritable (file f) true) - (let [^HashSet perms (posix-file-permissions f) - p1 (.add perms PosixFilePermission/OWNER_WRITE) - p2 (.add perms PosixFilePermission/OWNER_EXECUTE)] - (when (or p1 p2) - (set-posix-file-permissions f perms))))) - (defn temp-dir "Returns `java.io.tmpdir` property as path." []