Liking cljdoc? Tell your friends :D

migratus.utils


censor-passwordclj

(censor-password {:keys [password] :as db-spec})

Show only first character of password if given db-spec has password

Show only first character of password if given db-spec has password
sourceraw docstring

deep-mergeclj

(deep-merge & maps)

Merge keys at all nested levels of the maps.

Merge keys at all nested levels of the maps.
sourceraw docstring

default-init-script-nameclj

source

default-migration-dirclj

source

default-migration-parentclj

source

ensure-trailing-slashclj

(ensure-trailing-slash dir)

Put a trailing slash on the dirname if not present

Put a trailing slash on the dirname if not present
sourceraw docstring

find-migration-dirclj

(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.

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.
sourceraw docstring

get-exclude-scriptsclj

(get-exclude-scripts config)

Returns a set of script names to exclude when finding migrations

Returns a set of script names to exclude when finding migrations
sourceraw docstring

get-init-scriptclj

(get-init-script config)

Gets the :init-script from config, or default if missing.

Gets the :init-script from config, or default if missing.
sourceraw docstring

get-migration-dirclj

(get-migration-dir config)

Gets the :migration-dir from config, or default if missing.

Gets the :migration-dir from config, or default if missing.
sourceraw docstring

get-parent-migration-dirclj

(get-parent-migration-dir config)

Gets the :parent-migration-dir from config, or default if missing.

Gets the :parent-migration-dir from config, or default if missing.
sourceraw docstring

jar-fileclj

(jar-file url)
source

normalize-pathclj

(normalize-path s)

Replace backslashes with forwardslashes

Replace backslashes with forwardslashes
sourceraw docstring

recursive-deleteclj

(recursive-delete f)

Delete a file, including all children if it's a directory

Delete a file, including all children if it's a directory
sourceraw docstring

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

× close