(find-commits-since repo-path {:keys [ref subdir]})Find all commits since a given ref (or all, if excluded) and optionally
filter by the commits which affect the provided subdir.
Find all commits since a given `ref` (or all, if excluded) and optionally filter by the commits which affect the provided `subdir`.
(get-current-commit repo-path)Returns the current commit (HEAD) of the repository at repo.
Returns nil if the commit cannot be resolved.
Returns the current commit (HEAD) of the repository at `repo`. Returns `nil` if the commit cannot be resolved.
(get-current-commit-short repo-path)Like get-current-commit but returns the abbreviated commit sha instead
Like [[get-current-commit]] but returns the abbreviated commit sha instead
(resolve-commit-id repo rev)Resolve a rev (e.g. HEAD, tag, branch, SHA) to a commit ObjectId.
Throws if it cannot be resolved to a commit.
Resolve a rev (e.g. HEAD, tag, branch, SHA) to a commit ObjectId. Throws if it cannot be resolved to a commit.
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 |