• (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/duck_streams.clj:388 top

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

Comments top

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