this method can't satisfy entirely me because that it's recursive. I just need to list files and directory of current path.
like this... the example can't print it as follows.
thanks!
this method can't satisfy entirely me because that it's recursive. I just need to list files and directory of current path.
like this... the example can't print it as follows.
thanks!
You can use .list to get the directory listing for a given path like so.
user=> (require '[clojure.java.io :as io])
nil
user=> (map pprint (.list (io/file "./")))
".android"
".AndroidStudio2.0"
".ansible"
".anyconnect"