found some clojure example

master
jem 5 years ago
parent 3385a41486
commit 9e3563d013

@ -185,6 +185,7 @@
:else
(recur (into (drop 1 paths)
(map #(str path-to-work-with "/" %)
; Bsp-Code: https://github.com/clojure/java.classpath/blob/c10fc96a8ff98db4eb925a13ef0f5135ad8dacc6/src/main/clojure/clojure/java/classpath.clj#L50
(.list (io/file (.toString (:java-path resource-to-work-with)))))) ; TODO doesnt work in jars
result))))
result)))

@ -19,3 +19,8 @@ TODO: to solve reading from jars:
(into-array String '()))
(into-array java.nio.file.LinkOption {}))
(some? (sut/resource-from-cp-or-fs
"not-existing-filesystem-path"
""
"dummy"))

Loading…
Cancel
Save