Liking cljdoc? Tell your friends :D

hara.io.project


all-filesclj

(all-files)
(all-files paths)
(all-files paths opts)
(all-files paths opts project)

returns all the clojure files in a directory

(+ (count (all-files ["test/hara"])) (count (all-files ["test/documentation"]))) => (count (all-files ["test"]))

(-> (all-files ["test"]) (get 'hara.io.project-test)) => #(.endsWith ^String % "/test/hara/io/project_test.clj")

returns all the clojure files in a directory

(+ (count (all-files ["test/hara"]))
   (count (all-files ["test/documentation"])))
=> (count (all-files ["test"]))

(-> (all-files ["test"])
    (get 'hara.io.project-test))
=> #(.endsWith ^String % "/test/hara/io/project_test.clj")
raw docstring

file-lookupclj

(file-lookup)
(file-lookup project)

creates a lookup of namespaces and files in the project

(file-lookup (project))

creates a lookup of namespaces and files in the project

(file-lookup (project))
raw docstring

file-namespaceclj

(file-namespace path)

reads the namespace of the given path

(file-namespace "src/hara/io/project.clj") => 'hara.io.project

reads the namespace of the given path

(file-namespace "src/hara/io/project.clj")
=> 'hara.io.project
raw docstring

projectclj

(project)
(project path)

returns project.clj as a map

returns `project.clj` as a map
raw docstring

project-nameclj

(project-name)
(project-name path)

returns the name, read from project.clj

(project-name) => 'zcaudate/hara

returns the name, read from project.clj

(project-name)
=> 'zcaudate/hara
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close