(abort & msg)
Print msg to standard err and exit with a value of 1.
Print msg to standard err and exit with a value of 1.
(add! repo-dir & paths)
(any-commits? repo-dir)
return whether the repo has any commits in it
return whether the repo has any commits in it
(assert-committed? repo-dir)
(committed? repo-dir)
(current-branch repo-dir)
(describe prefix min-sha-length)
(describe repo-dir prefix min-sha-length)
(git-dir-opt repo-dir)
(git-in-dir repo-dir & arguments)
(git-short-status)
(git-short-status repo-dir)
(last-sha working-dir)
(latest-tag repo-dir)
(prefix)
(prefix repo-dir)
return the prefix (dir path relative to toplevel git dir). When invoked from a subdirectory, show the path of the current directory relative to the top-level directory.
return the prefix (dir path relative to toplevel git dir). When invoked from a subdirectory, show the path of the current directory relative to the top-level directory.
(push! repo-dir)
(tag! repo-dir tag metadata & {:keys [sign] :or {sign "--sign"}})
(tag-message working-dir tag)
(tag-timestamp working-dir tag)
(tag-verify working-dir tag)
(toplevel)
(toplevel repo-dir)
return the toplevel path as a string on the local filesystem corresponding to the dir containing the .git dir
return the toplevel path as a string on the local filesystem corresponding to the dir containing the .git dir
(working-copy-description)
(working-copy-description repo-dir
&
{:keys [prefix min-sha-length]
:or {prefix *prefix*
min-sha-length *min-sha-length*}})
return the git working copy description as [base distance sha dirty?]
return the git working copy description as [base distance sha dirty?]
(working-copy-state &
{:keys [prefix min-sha-length]
:or {prefix *prefix* min-sha-length *min-sha-length*}})
return the git working copy state with :status and :describe keys
return the git working copy state with :status and :describe keys
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close