polylith/clj-api
0.2.16-alpha
cljdoc
polyfy/polylith
Liking cljdoc? Tell your friends :D
Current release is
0.2.17-alpha
Articles
Readme
1. Validate Workflow
check
Migrate workspace
The workspace structure
Namespaces
polylith
clj
core
api
core
interface
change
bricks-to-test
core
entity
indirect
interface
project
projects-to-test
common
class-loader
config
read
validate
core
interface
config
leiningen
ns-extractor
validate-args
ws-dir
deps
brick-deps
interface
interface-deps
lib-deps
project-brick-deps
text-table
brick-deps-table
project-brick-deps-table
project-deps-table
shared
workspace-deps-table
file
core
interface
git
core
interface
tag
lib
core
git-size
interface
local-size
maven-dep
mvn-size
ns-to-lib
resolve-libs
size
text-table
lib-table
version
path-finder
interface
criterias
extract
select
status
lib-dep-extractor
path-extractor
paths
profile-src-splitter
selector
sources-on-disk
status-calculator
sh
core
interface
test-runner-contract
initializers
interface
initializers
verifiers
verifiers
text-table
cell
core
flipper
interface
line
merger
spaces
table
user-config
core
interface
user-input
core
interface
params
util
colorizer
core
interface
color
exception
os
str
time
os
str
time
validator
core
datashape
dispatcher
shared
toolsdeps1
toolsdeps2
interface
m101-illegal-namespace-deps
m102-function-or-macro-is-defined-twice
m103-missing-defs
m104-circular-deps
m105-illegal-name-sharing
m106-multiple-interface-occurrences
m107-missing-componens-in-project
m108-project-with-multi-implementing-component
m109-invalid-test-runner-constructor
m201-mismatching-parameters
m202-missing-paths
m203-path-exists-in-both-dev-and-profile
m204-lib-deps-exists-in-both-dev-and-profile
m205-non-top-namespace
m206-unreadable-namespace
message-printer
shared
version
interface
workspace-clj
bases-from-disk
brick-deps
brick-dirs
brick-paths
components-from-disk
config
config-from-disk
core
definitions
interface
interface-defs-from-disk
namespaces-from-disk
non-top-namespace
profile
project-paths
project-settings
projects-from-disk
tag-pattern
ws-reader
workspace
base
component
core
interface
interfaces
lib-imports
loc
project
settings
alias
test
text-table
count-table
info-tables
profile
project-table
ws-table
ws-table-column
brick-column
ifc-column
loc-columns
profile-columns
project-columns
ws-explorer
core
interface
polylith.clj.core.api.core
key->str
projects-to-deploy
workspace
polylith.clj.core.api.interface
projects-to-deploy
workspace
polylith.clj.core.change.bricks-to-test
bricks-to-test-for-project
project-to-bricks-to-test
polylith.clj.core.change.core
affected-projects
changes
project-affected?
with-changes
polylith.clj.core.change.entity
changed-entities
polylith.clj.core.change.indirect
brick-indirect-src-change
brick-indirect-test-change
brick-source-indirect-change
project-indirect-changes
project-to-indirect-changes
polylith.clj.core.change.interface
with-changes
polylith.clj.core.change.project
changed-project
indirectly-changed-project-names
polylith.clj.core.change.projects-to-test
included-projects
project-to-projects-to-test
projects-to-test
run-tests?
polylith.clj.core.common.class-loader
base-classloader
create-class-loader
eval-in
eval-in*
ext-classloader
invoke-in
invoke-in*
path->url
printable?
with-classloader
polylith.clj.core.common.config.read
read-deps-file
substitute
substitute-alias
substitute-if-alias
polylith.clj.core.common.config.validate
valid-ws-deps1-file-found?
valid-ws-file-found?
valid-ws-lein-file-found?
valid-ws-root-config-file-found?
polylith.clj.core.common.core
absolute-path
color-mode
compact?
entity->short
filter-clojure-paths
find-base
find-brick
find-component
find-project
hidden-file?
ns-to-path
path->filename
path-to-ns
sufix-ns-with-dot
user-path
polylith.clj.core.common.interface
absolute-path
color-mode
compact?
create-class-loader
entity->short
eval-in
extract-namespace
filter-clojure-paths
find-base
find-brick
find-component
find-project
ns-to-path
path-to-ns
suffix-ns-with-dot
toolsdeps1?
user-path
validate-args
workspace-dir
polylith.clj.core.common.interface.config
read-deps-file
source-paths
src-paths
test-paths
valid-ws-root-config-file-found?
polylith.clj.core.common.leiningen
config-key
polylith.clj.core.common.ns-extractor
extract
polylith.clj.core.common.validate-args
not-profile-or-empty?
validate
polylith.clj.core.common.ws-dir
find-root-dir
find-ws-root-dir
workspace-dir
polylith.clj.core.deps.brick-deps
->dependees
->dependers
colored-brick
dependee
depender
deps
sort-them
sorter
suffixed-name
polylith.clj.core.deps.interface
convert-dep-to-symbol
interface-deps
interface-ns-deps
print-brick-table
print-project-brick-table
print-project-table
print-workspace-table
project-deps
resolve-deps
polylith.clj.core.deps.interface-deps
brick-namespace
dependency
existing-interface?
interface-deps
interface-ns-deps
interface-ns-import-deps
polylith.clj.core.deps.lib-deps
->config
adjust-key
convert-dep-to-symbol
name-version
resolve-deps
polylith.clj.core.deps.project-brick-deps
all-brick-namespaces
all-test-keys
brick-deps
brick-namespace
brick-test-namespaces
circular?
clean-ns
clean-nss
component-deps
drop-brick-ns
extract-name
filter-component-ns
ifc-names
include-test?
interface-name
ns-deps-recursively
project-deps
short-ns
source-deps
src-namespaces
test-context?
test-key
test-keys
test-ns->namespaces
test-ns-suffix
test-path?
polylith.clj.core.deps.text-table.brick-deps-table
deps?
ifc
interface-cell
interface-column
print-table
table
used-by-interface
uses-ifc
polylith.clj.core.deps.text-table.project-brick-deps-table
print-table
table
validate
polylith.clj.core.deps.text-table.project-deps-table
brick-cell
brick-column
brick-entity
brick-entity-from-deps
entity
entity-columns
interface-cell
interface-column
print-table
sorter
source-brick-entity
table
type->color
polylith.clj.core.deps.text-table.shared
brick->color
brick-headers
deps-cell
deps-column
type->color
polylith.clj.core.deps.text-table.workspace-deps-table
brick-cell
brick-column
interface-cell
interface-column
interface-columns
print-table
table
polylith.clj.core.file.core
absolute-path
copy-file-or-dir+
copy-resource-file!
create-dir
create-file
create-missing-dirs
create-temp-dir
current-dir
delete-dir
delete-file
directory-paths
directory?
dirs-and-files
execute-fn
exists
file
filename
files
files-and-dirs-recursively
lines-of-code
not-hidden?
paths-recursively
pretty-spit
read-deps-file
read-file
read-first-statement
relative-paths
size
visible-paths-recursively
polylith.clj.core.file.interface
absolute-path
copy-dir
copy-file
copy-file+
copy-file-or-dir+
copy-resource-file!
create-dir
create-file
create-file-if-not-exists
create-missing-dirs
create-temp-dir
current-dir
delete-dir
delete-file
directories
directory?
exists
file
file-name
files
files-and-dirs
lines-of-code
not-hidden?
paths-recursively
pretty-spit
read-file
read-first-statement
relative-paths
sep
size
visible-paths-recursively
polylith.clj.core.git.core
add
branch
current-branch
diff
diff-command
diff-command-parts
drop-or-keep
extract-since
first-committed-sha
init
is-git-repo?
keep-path?
latest-polylith-sha
remove-prefix
repo
root-dir
sha
polylith.clj.core.git.interface
add
branch
current-branch
diff
diff-command
init
is-git-repo?
latest-polylith-sha
repo
root-dir
sha
tags
polylith.clj.core.git.tag
log-lines
matching-tag
matching-tags
skip-tag
tag-and-sha
tags
polylith.clj.core.lib.core
brick-lib-deps
latest-lib-version
latest-with-sizes
lib->deps
lib-deps
polylith.clj.core.lib.git-size
dir-size
full-sha
root-path
sha-version
with-size-and-version
polylith.clj.core.lib.interface
brick-lib-deps
latest-with-sizes
print-lib-table
resolve-libs
with-sizes-vec
polylith.clj.core.lib.local-size
file-size
with-size-and-version
polylith.clj.core.lib.maven-dep
latest
version
version-scheme
polylith.clj.core.lib.mvn-size
lib-size-bytes
with-maven
with-size
polylith.clj.core.lib.ns-to-lib
included-in-ns?
included-namespaces
included-nss
lib-deps
with-name
with-version
polylith.clj.core.lib.resolve-libs
latest
resolve-libs
polylith.clj.core.lib.size
destruct
with-size
with-sizes-vec
polylith.clj.core.lib.text-table.lib-table
brick-cell
brick-cell-sign
brick-column
brick-columns
brick-libs
contains-lib?
flag-cell
kb-cell
lib
lib-cell
lib-column
print-table
profile-column
profile-columns
profile-flag-cell
profile-lib
project-column
project-columns
size-column
size-kb
table
type->color
type-column
version-column
polylith.clj.core.lib.version
clean-suffix
version
polylith.clj.core.path-finder.interface
paths
polylith.clj.core.path-finder.interface.criterias
=name
base?
brick?
component?
exists?
filter-entries
has-entry?
match?
not-exists?
not-profile?
profile?
project?
resources-path?
resources?
src-path?
src?
test-path?
test?
truthy
polylith.clj.core.path-finder.interface.extract
from-library-deps
from-paths
from-profiles-paths
from-unenriched-project
polylith.clj.core.path-finder.interface.select
entries
exists?
lib-deps
names
paths
polylith.clj.core.path-finder.interface.status
brick-status-flags
project-status-flags
polylith.clj.core.path-finder.lib-dep-extractor
deps-entry
extract-deps
from-library-deps
select-dep-entries
polylith.clj.core.path-finder.path-extractor
dir->type
entity-name
entity-type
exists?
from-paths
from-profiles-paths
from-unenriched-project
main-dir
path-entries
path-entry
single-path-entries
source-dir
polylith.clj.core.path-finder.paths
extract-profile-paths-xf
extract-project-paths-xf
paths
project-paths
polylith.clj.core.path-finder.profile-src-splitter
extract-active-profiles-paths
extract-profile-paths
src-path?
src-paths
test-path?
test-paths
polylith.clj.core.path-finder.selector
entries
exists?
lib-deps
names
paths
polylith.clj.core.path-finder.sources-on-disk
source-paths
polylith.clj.core.path-finder.status-calculator
resources-status-flag
src-status-flag
status-flag
status-flags
test-status-flag
polylith.clj.core.sh.core
execute
sh-dont-print-exception
sh-print-and-throw-if-exception
polylith.clj.core.sh.interface
execute
execute-ignore-exception
execute-with-return
polylith.clj.core.test-runner-contract.initializers
->constructor-var
ensure-var
polylith.clj.core.test-runner-contract.interface
ExternalTestRunner
TestRunner
polylith.clj.core.test-runner-contract.interface.initializers
->constructor-var
polylith.clj.core.test-runner-contract.interface.verifiers
ensure-valid-test-runner
valid-constructor-var?
valid-external-test-runner?
valid-test-runner?
polylith.clj.core.test-runner-contract.verifiers
ensure-valid-test-runner
valid-constructor-var?
valid-external-test-runner?
valid-test-runner?
polylith.clj.core.text-table.cell
cell
number-cell
polylith.clj.core.text-table.core
print-table
table
polylith.clj.core.text-table.flipper
add-next
flip-row
flip-to-map
flip-vertical
horizontal
max-row-height
row-height
select-row
vertical-cell
polylith.clj.core.text-table.interface
cell
line
merge-cells
number-cell
print-table
spaces
table
polylith.clj.core.text-table.line
line
line-cell
line-spaces
max-column-width
select-column
width
polylith.clj.core.text-table.merger
as-map
key-row
merge-list-of-cells
merge-two-cells
polylith.clj.core.text-table.spaces
row-cell
spaces
polylith.clj.core.text-table.table
align
align-column
align-table
color->function
column
max-column-width
none
row
table
value
polylith.clj.core.user-config.core
color-mode
config-file-path
empty-character
home-dir
legacy-config-file-path
m2-dir
m2-home-dir?
thousand-separator
polylith.clj.core.user-config.interface
color-mode
config-file-path
empty-character
home-dir
legacy-config-file-path
m2-dir
m2-home-dir?
thousand-separator
polylith.clj.core.user-input.core
extract
extract-params
from-to
profile?
replace-from-to
selected-profiles
selected-projects
polylith.clj.core.user-input.interface
extract-params
polylith.clj.core.user-input.params
extract
key-name
named?
unnamed?
polylith.clj.core.util.colorizer
base
blue
brick
clean-colors
color-black
color-blue
color-cyan
color-green
color-grey-dark
color-grey-light
color-purple
color-red
color-reset
color-white
color-yellow
colored-text
component
cyan
entities->type
entity
error
green
grey
interface
library
namespc
ok
path
profile
project
purple
red
warning
yellow
polylith.clj.core.util.core
def-map
find-first
ordered-map
sort-map
stringify-and-sort-map
polylith.clj.core.util.interface
def-keys
find-first
first-as-vector
ordered-map
rf-some
sort-map
stringify-and-sort-map
xf-some
polylith.clj.core.util.interface.color
base
blue
brick
clean-colors
component
cyan
entity
error
green
grey
interface
library
namespc
none
ok
path
profile
project
purple
red
warning
yellow
polylith.clj.core.util.interface.exception
print-error-message
print-exception
print-stacktrace
polylith.clj.core.util.interface.os
windows?
polylith.clj.core.util.interface.str
count-things
drop-last
line
sep-1000
skip-if-ends-with
skip-prefix
skip-suffix
skip-suffixes
skip-until
spaces
split-text
take-until
polylith.clj.core.util.interface.time
current-time
print-execution-time
polylith.clj.core.util.os
windows-os?
polylith.clj.core.util.str
add-first
drop-last
keep?
line
skip-prefix
skip-suffix
skip-suffixes
skip-until
spaces
split-text
take-until
polylith.clj.core.util.time
current-time
elapsed-time
minutes-and-seconds
print-execution-time
polylith.clj.core.validator.core
has-errors?
validate-ws
polylith.clj.core.validator.datashape.dispatcher
throw-unknown-type
validate-project-deployable-config
validate-project-dev-config
polylith.clj.core.validator.datashape.shared
alias
polylith.clj.core.validator.datashape.toolsdeps1
validate-dev-config
validate-project-deployable-config
polylith.clj.core.validator.datashape.toolsdeps2
project-settings-schema
project-test-config-schema
test-runner-config-schema
test-runner-constructor-schema
validate-brick-config
validate-project-deployable-config
validate-project-dev-config
validate-workspace-config
workspace-schema
polylith.clj.core.validator.interface
has-errors?
print-messages
validate-brick-config
validate-project-deployable-config
validate-project-dev-config
validate-workspace-config
validate-ws
polylith.clj.core.validator.m101-illegal-namespace-deps
brick-errors
error-message
errors
get-namespace
polylith.clj.core.validator.m102-function-or-macro-is-defined-twice
component-errors
duplicated-parameter-lists-error
errors
polylith.clj.core.validator.m103-missing-defs
->data-ifc
component-data-defs
component-error
component-fn-defs
errors
function-or-macro?
functions-and-macros
interface-errors
polylith.clj.core.validator.m104-circular-deps
circular-dep
dep
errors
projects-circular-deps
polylith.clj.core.validator.m105-illegal-name-sharing
errors
polylith.clj.core.validator.m106-multiple-interface-occurrences
errors
project-error
project-errors
polylith.clj.core.validator.m107-missing-componens-in-project
errors
missing-components
missing-components-error
project-error
polylith.clj.core.validator.m108-project-with-multi-implementing-component
errors
multi-impl-components
polylith.clj.core.validator.m109-invalid-test-runner-constructor
->ctor+project-names
constructor-var-or-error
error-message-fn
errors
invalid-constructor-error-fn
invalid-constructor-message
multiple?
polylith.clj.core.validator.m201-mismatching-parameters
component-warnings
function-warnings
types->message
warnings
polylith.clj.core.validator.m202-missing-paths
missing-project-paths
non-existing-paths-warning
project-warnings
quoted
warnings
polylith.clj.core.validator.m203-path-exists-in-both-dev-and-profile
profile-warning
warnings
polylith.clj.core.validator.m204-lib-deps-exists-in-both-dev-and-profile
profile-warning
warnings
polylith.clj.core.validator.m205-non-top-namespace
non-top-nss
warning
warnings
polylith.clj.core.validator.m206-unreadable-namespace
unreadable-ns
unreadable-nss
warnings
polylith.clj.core.validator.message-printer
get-messages
message
print-messages
polylith.clj.core.validator.shared
->function-or-macro
full-name
function->id
id->functions-or-macro
parameter
profile-lib
show-error?
used-libs
with-ns
polylith.clj.core.version.interface
date
major
minor
name
patch
revision
version
polylith.clj.core.workspace-clj.bases-from-disk
read-base
read-bases
polylith.clj.core.workspace-clj.brick-deps
brick-name
extract-brick-name
extract-brick-names
polylith.clj.core.workspace-clj.brick-dirs
source-dirs
top-source-dirs
top-src-dirs
top-test-dirs
polylith.clj.core.workspace-clj.brick-paths
existing-paths
source-paths
polylith.clj.core.workspace-clj.components-from-disk
read-component
read-components
polylith.clj.core.workspace-clj.config
dev-config-from-disk
with-alias
ws-config-from-dev
ws-config-from-disk
polylith.clj.core.workspace-clj.config-from-disk
read-and-validate-config-file
read-config-file
polylith.clj.core.workspace-clj.core
->ws-local-dir
git-current-branch
git-info
git-latest-sha
git-root
git-sha
no-git-repo
stringify
stringify-key-value
toolsdeps-ws-from-disk
workspace-from-disk
polylith.clj.core.workspace-clj.definitions
->generic-type
definition?
definitions
filter-statements
function
parameter
sub-namespace
polylith.clj.core.workspace-clj.interface
workspace-from-disk
polylith.clj.core.workspace-clj.interface-defs-from-disk
->interface-ns
defs-from-disk
interface-from-disk
interface-namespaces
interface-ns?
interface-path
params
polylith.clj.core.workspace-clj.namespaces-from-disk
->namespace
empty-ns?
import
import-list->package-str
import?
imports
interface-ns?
libspec->lib
libspec?
namespace-name
namespaces-from-disk
prefix-list->lib-strs
required-as?
skip-slash
source-namespaces-from-disk
valid-ns?
polylith.clj.core.workspace-clj.non-top-namespace
is-not-top-ns?
non-data-reader-file?
non-top-namespaces
non-top-namespaces-for-source
non-top-ns-map
polylith.clj.core.workspace-clj.profile
->brick-paths
active-profiles
brick-libs
brick-name
lib?
profile
profile-to-settings
profile?
polylith.clj.core.workspace-clj.project-paths
project-source-dirs
source-dirs
source-paths
polylith.clj.core.workspace-clj.project-settings
convert
convert-test
polylith.clj.core.workspace-clj.projects-from-disk
->brick-src-paths
->brick-test-paths
absolute-path
brick-libs
brick-path?
brick?
keep?
project-map
read-project
read-projects
skip-all-tests?
src-paths-and-libs-from-bricks
test-paths-and-libs-from-bricks
polylith.clj.core.workspace-clj.tag-pattern
patterns
polylith.clj.core.workspace-clj.ws-reader
reader
polylith.clj.core.workspace.base
enrich
polylith.clj.core.workspace.component
enrich
polylith.clj.core.workspace.core
brick->lib-imports
brick->loc
enrich-workspace
project-sorter
workspace-name
polylith.clj.core.workspace.interface
enrich-workspace
print-info
polylith.clj.core.workspace.interfaces
->interface
->multi-interface
calculate
params
polylith.clj.core.workspace.lib-imports
lib-imports
lib-imports-source
library?
polylith.clj.core.workspace.loc
lines-of-code
lines-of-code-source
polylith.clj.core.workspace.project
enrich-project
file-exists
project-lib-imports
project-total-loc
source-imports
polylith.clj.core.workspace.settings
enrich-settings
polylith.clj.core.workspace.settings.alias
enrich-settings
inject-alias-reducer
inject-dev-alias-if-missing
project-name->alias
polylith.clj.core.workspace.settings.test
add-default-test-runner-if-missing
alias->default-test-runner
convert-create-test-runner-to-vector
default-test-runner
default-test-runner-aliases
enrich-settings
enrich-test-settings
replace-default-test-runner-constructors
update-default-test-runner-constructors
polylith.clj.core.workspace.text-table.count-table
print-table
table
polylith.clj.core.workspace.text-table.info-tables
print-active-profiles
print-info
print-stable-since
short-name
polylith.clj.core.workspace.text-table.profile
all-profiles
inactive-profiles
profile-sorting
polylith.clj.core.workspace.text-table.project-table
dev-cell
dev-column
loc-cell
loc-columns
print-table
profile-cell
profile-col
profile-columns
project-cell
project-column
status-cell
status-column
table
polylith.clj.core.workspace.text-table.ws-table
component-sorter
print-table
table
polylith.clj.core.workspace.text-table.ws-table-column.brick-column
brick-cell
brick-name
column
polylith.clj.core.workspace.text-table.ws-table-column.ifc-column
base-cell
column
ifc-cell
ifc-name
polylith.clj.core.workspace.text-table.ws-table-column.loc-columns
columns
loc-column
polylith.clj.core.workspace.text-table.ws-table-column.profile-columns
column
columns
profile-cell
polylith.clj.core.workspace.text-table.ws-table-column.project-columns
alias-changes
column
columns
project-cell
status-flags
polylith.clj.core.ws-explorer.core
adjust-keys
color-schema
do-replace
extract
extract-value
intify
keys-value
keys?
match-str?
match?
replace-fn
replace-values
search?
value-from-map
value-from-vector
vector-key
ws
polylith.clj.core.ws-explorer.interface
extract
ws
cljdoc
is a website building & hosting documentation for Clojure/Script libraries
Keyboard shortcuts
Report a problem
cljdoc on GitHub
× close