Skip to content

Commit

Permalink
Remove stale function
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jan 25, 2024
1 parent 374c36a commit e22269c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/babashka/fs.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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."
[]
Expand Down

0 comments on commit e22269c

Please sign in to comment.