Everything the freeze gate must read from the world: source text at HEAD and at the previous release tag, that tag's age, and this commit's message.
Isolated here so promote.freeze and promote.api-surface stay pure and
testable without a repository.
Everything the freeze gate must read from the world: source text at HEAD and at the previous release tag, that tag's age, and this commit's message. Isolated here so `promote.freeze` and `promote.api-surface` stay pure and testable without a repository.
(files-at ref dirs)Paths under dirs tracked at ref.
Paths under `dirs` tracked at `ref`.
(head-commit-message)Subject + body of HEAD, or "".
Subject + body of HEAD, or "".
(last-release-tag)The most recent v-prefixed tag, or nil when the repo has never released.
The most recent v-prefixed tag, or nil when the repo has never released.
(read-forms text)Every top-level form in text, reader-conditionals allowed.
A file that will not read yields [] rather than throwing: the gate must be able to report on a tree it cannot fully parse, and a parse failure is not evidence of a breaking change.
Every top-level form in `text`, reader-conditionals allowed. A file that will not read yields [] rather than throwing: the gate must be able to report on a tree it cannot fully parse, and a parse failure is not evidence of a breaking change.
(read-text path)File content on disk, or nil.
File content on disk, or nil.
(source-files dirs)Clojure source paths under dirs on disk.
Clojure source paths under `dirs` on disk.
(tag-age-days tag)Whole days since tag was created, or nil.
Whole days since `tag` was created, or nil.
(text-at ref path)File content at ref, or nil.
File content at `ref`, or nil.
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 |