(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |