Liking cljdoc? Tell your friends :D

metav.domain.git


*dirty-mark*clj

source

*min-sha-length*clj

source

*prefix*clj

source

abortclj

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

add!clj

(add! repo-dir & paths)
source

any-commits?clj

(any-commits? repo-dir)

return whether the repo has any commits in it

return whether the repo has any commits in it
sourceraw docstring

assert-committed?clj

(assert-committed? repo-dir)
source

commit!clj

(commit! msg)
(commit! repo-dir msg)

commit with message

commit with message
sourceraw docstring

committed?clj

(committed? repo-dir)
source

current-branchclj

(current-branch repo-dir)
source

describeclj

(describe prefix min-sha-length)
(describe repo-dir prefix min-sha-length)
source

git-dir-optclj

(git-dir-opt repo-dir)
source

git-in-dirclj

(git-in-dir repo-dir & arguments)
source

git-short-statusclj

(git-short-status)
(git-short-status repo-dir)
source

last-shaclj

(last-sha working-dir)
source

latest-tagclj

(latest-tag repo-dir)
source

list-remote-tagsclj

(list-remote-tags remote)
source

prefixclj

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

push!clj

(push! repo-dir)
(push! repo-dir tag)
source

status-codesclj

source

tag!clj

(tag! repo-dir tag metadata & {:keys [sign] :or {sign "--sign"}})
source

tag-messageclj

(tag-message working-dir tag)
source

tag-timestampclj

(tag-timestamp working-dir tag)
source

tag-verifyclj

(tag-verify working-dir tag)
source

toplevelclj

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

unix-git-commandclj

source

windows?clj

source

working-copy-descriptionclj

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

working-copy-stateclj

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

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close