Helper functions to implement tools for makejack.
Helper functions to implement tools for makejack.
(clj-source-file? p)
Predicate for the given path being a clojure source file.
Predicate for the given path being a clojure source file.
(deep-merge-with f & ms)
Merge maps recursively, using f to merge non-map keys
Merge maps recursively, using f to merge non-map keys
(file-hashes path)
Return a map with hash strings for the contents of the given path. The returned map has :md5 and :sha1 hash strings.
Return a map with hash strings for the contents of the given path. The returned map has :md5 and :sha1 hash strings.
(format-version-map {:keys [major minor incremental qualifier]})
Format a version map as a string.
Format a version map as a string.
(git-sha)
Return the current git sha as a string.
Return the current git sha as a string.
(java-source-file? p)
Predicate for the given path being a java source file.
Predicate for the given path being a java source file.
(path->namespace path-like)
Return namespaces found under the given root path.
Return namespaces found under the given root path.
(project-source-files filter-fn path-like)
Return all source files under path-like. Return a sequence of File objects relative to the current directory.
Return all source files under path-like. Return a sequence of File objects relative to the current directory.
(source-files filter-fn path-like)
Return all source files under path-like. Return a sequence of File objects.
Return all source files under path-like. Return a sequence of File objects.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close