Liking cljdoc? Tell your friends :D

monkey.ci.utils


->base64clj

(->base64 s)
source

->seqclj

(->seq x)

Converts x into a sequential

Converts `x` into a sequential
sourceraw docstring

abs-pathclj

(abs-path p)
(abs-path a b)

If b is a relative path, will combine it with a, otherwise will just return b.

If `b` is a relative path, will combine it with `a`, otherwise
will just return `b`.
sourceraw docstring

add-shutdown-hook!clj

(add-shutdown-hook! h)

Executes h when the JVM shuts down. Returns the thread that will execute the hook.

Executes `h` when the JVM shuts down.  Returns the thread that will
execute the hook.
sourceraw docstring

combineclj

(combine a b)

Returns the canonical path of combining a and b

Returns the canonical path of combining `a` and `b`
sourceraw docstring

cwdclj

(cwd)

Returns current directory

Returns current directory
sourceraw docstring

delete-dirclj

(delete-dir dir)

Deletes directory recursively

Deletes directory recursively
sourceraw docstring

ensure-dir-exists!clj

(ensure-dir-exists! f)

If f is a file, ensures that the directory containing f exists.

If `f` is a file, ensures that the directory containing `f` exists.
sourceraw docstring

fn-nameclj

(fn-name x)

If x points to a fn, returns its name without namespace

If x points to a fn, returns its name without namespace
sourceraw docstring

load-privkeyclj

(load-privkey f)

Load private key from file or from string

Load private key from file or from string
sourceraw docstring

mkdirs!clj

(mkdirs! f)
source

nowclj

source

or-nilclj

(or-nil f)

Wraps f so that when the argument is nil, it also returns nil and does not invoke f.

Wraps `f` so that when the argument is `nil`, it also returns `nil` and does not invoke `f`.
sourceraw docstring

parse-ednclj

Parses edn from the reader

Parses edn from the reader
sourceraw docstring

parse-edn-strclj

(parse-edn-str s)
source

parse-sidcljdeprecated

source

prune-treeclj

(prune-tree t)
source

rebase-pathclj

(rebase-path p from to)

Given two absolute paths, recalculates p so that it becomes relative to to instead of from.

Given two absolute paths, recalculates p so that it becomes relative to `to` instead
of `from`.
sourceraw docstring

round-upclj

(round-up x)

Rounds the decimal argument up to the next integer value

Rounds the decimal argument up to the next integer value
sourceraw docstring

serialize-sidcljdeprecated

source

sid->repo-sidcljdeprecated

source

stack-traceclj

(stack-trace ex)

Prints stack trace to a string

Prints stack trace to a string
sourceraw docstring

tmp-dirclj

(tmp-dir)
source

tmp-fileclj

(tmp-file name)
(tmp-file prefix suffix)

Generates a new temporary path

Generates a new temporary path
sourceraw docstring

try-slurpclj

(try-slurp x)

Reads the file if it exists, or just returns x

Reads the file if it exists, or just returns x
sourceraw docstring

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

× close