• (make-parents file)
Creates all parent directories of file.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/io.clj:471 top

(defn make-parents
  "Creates all parent directories of file."
  [^File file]
  (.mkdirs (.getParentFile file)))
Vars in defn
Used in 0 other vars

Comments top

No comments for make-parents. Log in to add a comment.