1.2.0 permalink Arrow_down_16x16

all-files-in-directory

swank.loader

  • (all-files-in-directory f)

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 swank/loader.clj:24 top

(defn all-files-in-directory [#^File f]
  (let [list-files  (.listFiles f)
        files       (remove file-directory? list-files)
        directories (filter file-directory? list-files)]
    (concat files (mapcat all-files-in-directory directories))))
Vars in swank.loader/all-files-in-directory: concat defn let mapcat
Used in 0 other vars

Comments top

No comments for all-files-in-directory. Log in to add a comment.