ryoakg
9/2/2016 - 3:19 AM

delete-files-recursively.clj

(defn- delete-files-recursively [^java.io.File file]
  (doseq [f (.listFiles file)]
    (delete-files-recursively f))
  (.delete file))