mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-16 17:41:12 +00:00
[new] writeable-file!: resolve sym links, etc.
This commit is contained in:
parent
d0ad99d528
commit
9965450f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@
|
|||
^java.io.File [file]
|
||||
(let [file (as-file file)]
|
||||
(when-not (.exists file)
|
||||
(when-let [parent (.getParentFile file)] (.mkdirs parent))
|
||||
(when-let [parent (.getParentFile (.getCanonicalFile file))] (.mkdirs parent))
|
||||
(.createNewFile file))
|
||||
|
||||
(if (.canWrite file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue