Public Vars

Back

file-seq (clj)

(source)

function

(file-seq dir)
A tree seq on java.io.Files

Examples

wardle/dmd
(ns com.eldrix.dmd.importer-test
  (:require [clojure.core.async :as a]
            [clojure.test :refer :all]
            [com.eldrix.dmd.import :as dim]
            [clojure.java.io :as io]))

(deftest file-ordering
  (is (= '(:LOOKUP :INGREDIENT :VTM :VMP :AMP :VMPP :AMPP :GTIN :BNF) (map :type (dim/dmd-file-seq (io/resource dir))))))