mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 06:41:38 +02:00
♻️ Refactor exportation process, make it considerably faster
This commit is contained in:
parent
d6abd2202c
commit
9140fc71b9
33 changed files with 1096 additions and 1090 deletions
|
@ -16,12 +16,9 @@
|
|||
|
||||
(l/set-level! :trace)
|
||||
|
||||
(defn create-tmpdir!
|
||||
(defn mktmpdir!
|
||||
[prefix]
|
||||
(-> (.mkdtemp fs/promises prefix)
|
||||
(p/then (fn [result]
|
||||
(path/join (os/tmpdir) result)))))
|
||||
|
||||
(.mkdtemp fs/promises (path/join (os/tmpdir) prefix)))
|
||||
|
||||
(defn move!
|
||||
[origin-path dest-path]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue