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.
(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |