mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
Add instructions when downloading files that have reserved chars
This commit is contained in:
@@ -464,11 +464,14 @@
|
||||
(boolean)))
|
||||
|
||||
(defn- filter-files-with-reserved-chars
|
||||
"Skip downloading file paths with reserved chars."
|
||||
[files]
|
||||
(let [reserved-files (filter
|
||||
#(fs-util/include-reserved-chars? (-relative-path %))
|
||||
files)]
|
||||
(when (seq reserved-files)
|
||||
(state/pub-event! [:ui/notify-skipped-downloading-files
|
||||
(map -relative-path reserved-files)])
|
||||
(prn "Skipped downloading those file paths with reserved chars: "
|
||||
(map -relative-path reserved-files))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user