(copy-file-from-resource resource-name filename-to)
Finds resource-name
as a resource, and copies it to filename-to
.
The directory containing filename-to
must exist beforehand.
Finds `resource-name` as a resource, and copies it to `filename-to`. The directory containing `filename-to` must exist beforehand.
(ensure-directory-exists f)
Ensures that f
, typically a filename (or anything that can be coerced to a File), exists as a directory, by creating it.
Ensures that `f`, typically a filename (or anything that can be coerced to a File), exists as a directory, by creating it.
(running-in-jar?)
Is the current Clojure process running as a .jar?
Is the current Clojure process running as a .jar?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close