(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
(deep-merge & maps)
Merge keys at all nested levels of the maps.
Merge keys at all nested levels of the maps.
(ensure-trailing-slash dir)
Put a trailing slash on the dirname if not present
Put a trailing slash on the dirname if not present
(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.
(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
(get-init-script config)
Gets the :init-script from config, or default if missing.
Gets the :init-script from config, or default if missing.
(get-migration-dir config)
Gets the :migration-dir from config, or default if missing.
Gets the :migration-dir from config, or default if missing.
(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.
(normalize-path s)
Replace backslashes with forwardslashes
Replace backslashes with forwardslashes
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close