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