Liking cljdoc? Tell your friends :D

metav.domain.git


*dirty-mark*clj


*min-sha-length*clj


*prefix*clj


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.
raw docstring

add!clj

(add! repo-dir & paths)

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
raw docstring

assert-committed?clj

(assert-committed? repo-dir)

commit!clj

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

commit with message

commit with message
raw docstring

committed?clj

(committed? repo-dir)

current-branchclj

(current-branch repo-dir)

describeclj

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

git-dir-optclj

(git-dir-opt repo-dir)

git-in-dirclj

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

git-short-statusclj

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

last-shaclj

(last-sha working-dir)

latest-tagclj

(latest-tag repo-dir)

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.
raw docstring

push!clj

(push! repo-dir)

status-codesclj


tag!clj

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

tag-messageclj

(tag-message working-dir tag)

tag-timestampclj

(tag-timestamp working-dir tag)

tag-verifyclj

(tag-verify working-dir tag)

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
raw docstring

unix-git-commandclj


windows?clj


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?]
raw 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
raw docstring

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

× close