Liking cljdoc? Tell your friends :D

metav.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

any-commits?clj

(any-commits?)
(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?)
(assert-committed? repo-dir)
source

commit!clj

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

commit with message

commit with message
sourceraw docstring

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

last-shaclj

(last-sha working-dir)
source

latest-tagclj

(latest-tag repo-dir)
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)
source

pwdclj

(pwd)

return working dir of the JVM (cannot be changed once JVM is started)

return working dir of the JVM (cannot be changed once JVM is started)
sourceraw docstring

tag!clj

(tag! tag)
(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

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