(all-files)
This strategy unconditionally formats all files. Requires the tree
binary to be installed.
This strategy unconditionally formats all files. Requires the `tree` binary to be installed.
(git-completely-staged
&
{:keys [files] :or {files (impl/file-entries "git" "status" "--porcelain")}})
This strategy formats the new or modified files that are completely staged with git.
This strategy formats the new or modified files that are _completely_ staged with git.
(git-diff-against-default-branch
&
{:keys [target-branch files blacklist]
:or {target-branch "master"
files (impl/file-entries "git" "diff" "--name-only" target-branch)
blacklist (impl/git-not-completely-staged)}})
This strategy formats all files that this branch has modified.
The diff is compared against the :target-branch
option.
This strategy formats all files that this branch has modified. The diff is compared against the `:target-branch` option.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close