Liking cljdoc? Tell your friends :D

k16.kmono.git.commit


find-commits-sinceclj

(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`.
sourceraw docstring

get-current-commitclj

(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.
sourceraw docstring

get-current-commit-shortclj

(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
sourceraw docstring

resolve-commit-idclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close