Liking cljdoc? Tell your friends :D

c3kit.apron.util


clj-files-inclj

(clj-files-in path)

Return a list of filenames of .clj files located within the specified path, recursively.

Return a list of filenames of .clj files located within the specified path, recursively.
raw docstring

config-valueclj

(config-value sym-or-val)

Given a symbol, extract value from resolved var, else return the given value

Given a symbol, extract value from resolved var, else return the given value
raw docstring

edn-files-inclj

(edn-files-in path)

Return a list of filenames of .edn files located within the specified path, recursively.

Return a list of filenames of .edn files located within the specified path, recursively.
raw docstring

establish-pathclj

(establish-path path)

Create any missing directories in path

Create any missing directories in path
raw docstring

filename->nsclj

(filename->ns filename)

Given a filesystem path or classpath resource (not including scheme), returns the namespace can be required.

Given a filesystem path or classpath resource (not including scheme), returns the namespace can be required.
raw docstring

files-inclj

(files-in pred path)
(files-in pred base [name & more] result)

Returns a list of files that are in the path and match the predicate. Recursive.

Returns a list of files that are in the path and match the predicate. Recursive.
raw docstring

files-with-suffix-inclj

(files-with-suffix-in suffix path)

Return a list of filenames matching a suffix located within the specified path, recursively.

Return a list of filenames matching a suffix located within the specified path, recursively.
raw docstring

md5clj

(md5 s)

MD5 hash the string

MD5 hash the string
raw docstring

namespace->pathclj

(namespace->path namespace)

Given a namespace string, returns a path to the resource directory.

Given a namespace string, returns a path to the resource directory.
raw docstring

null-output-streamclj


path->namespaceclj

(path->namespace filename)

Given a filesystem path or classpath resource (not including scheme), returns the namespace can be required.

Given a filesystem path or classpath resource (not including scheme), returns the namespace can be required.
raw docstring

read-edn-resourceclj

(read-edn-resource path)

Find file in classpath, read as EDN, and return form.

Find file in classpath, read as EDN, and return form.
raw docstring

resolve-varclj

(resolve-var var-sym)

Given the symbol of a fully qualified var name, load the namespace and return the var. Throws an exception if the var doesnt exist. Deref the var to get it's value. Use to decouple code; dynamically load code.

Given the symbol of a fully qualified var name, load the namespace and return the var.
Throws an exception if the var doesnt exist.  Deref the var to get it's value.
Use to decouple code; dynamically load code.
raw docstring

resources-inclj

(resources-in package)

Returns a seq of all the files and directories in the provided package names. They resources must be in the classpath, either in the filesystem or a jar file. Not recursive.

Returns a seq of all the files and directories in the provided package names.  They resources must be in the
classpath, either in the filesystem or a jar file.  Not recursive.
raw docstring

stream->md5clj

(stream->md5 s)

var-valueclj

(var-value var-sym)

Using resolve-var, return the value of the var, or nil if it fails to resolve

Using resolve-var, return the value of the var, or nil if it fails to resolve
raw docstring

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

× close