Back

find-migration-dir (clj)

(source)

function

(find-migration-dir dir) (find-migration-dir class-loader parent-dir dir)
Finds the given directory on the classpath. For backward compatibility, tries the System ClassLoader first, but falls back to using the Context ClassLoader like Clojure's compiler. If classloaders return nothing try to find it on a filesystem.

Examples