(boolean? x)
Return true if x is a Boolean
Return true if x is a Boolean
The default configuration values.
The default configuration values.
(describe {:keys [git] :as config})
Uses git-describe to parse the status of the repository.
Using the configured git
and describe-pattern
to parse the output.
Returns a map {:tag, :ahead, :ahead?, :ref, :ref-short, :dirty?}
if the pattern matches, otherwise returns the empty map.
Uses git-describe to parse the status of the repository. Using the configured `git` and `describe-pattern` to parse the output. Returns a map `{:tag, :ahead, :ahead?, :ref, :ref-short, :dirty?}` if the pattern matches, otherwise returns the empty map.
(ensure-pattern x label)
Given a string, compiles it to a java.util.regex.Pattern.
Given a string, compiles it to a java.util.regex.Pattern.
(git-status-to-version {:keys [version-pattern ignore-dirty?] :as config})
(let-groups [bindings m] & body)
Let for binding groups out of a j.u.r.Pattern j.u.r.Matcher.
Let for binding groups out of a j.u.r.Pattern j.u.r.Matcher.
(parse-describe {:keys [describe-pattern] :as config} out)
Used to parse the output of git-describe, using the configured describe-pattern
.
Returns a map {:tag, :ahead, :ahead?, :ref, :ref-short, :dirty?}
if the pattern matches, otherwise returns the empty map.
Used to parse the output of git-describe, using the configured `describe-pattern`. Returns a map `{:tag, :ahead, :ahead?, :ref, :ref-short, :dirty?}` if the pattern matches, otherwise returns the empty map.
(resolve-ref {:keys [git] :as config} ref)
Fetches the git ref of ref, being a tag or ref name.
Fetches the git ref of ref, being a tag or ref name.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close