(bound-commit repo rev-walk rev-commit)
Find a RevCommit object in a RevWalk and bound to it.
Find a RevCommit object in a RevWalk and bound to it.
(canonical-tree-parser repo commit-ref)
Returns a new org.eclipse.jgit.treewalk.CanonicalTreeParser
instance that reflects the repo state at given commit-ref
Returns a new `org.eclipse.jgit.treewalk.CanonicalTreeParser` instance that reflects the repo state at given `commit-ref`
(close-rev-walk rev-walk)
If given rev-walk
is a JGit RevWalk instance release any of it's used resources, returns nil either way
If given `rev-walk` is a JGit RevWalk instance release any of it's used resources, returns nil either way
(get-head-commit repo)
Return HEAD RevCommit instance
Return HEAD RevCommit instance
(new-rev-walk repo)
Creates a new RevWalk instance (mutable), it's a good idea to use close-rev-walk
once you are done. ;)
Creates a new RevWalk instance (mutable), it's a good idea to use `close-rev-walk` once you are done. ;)
(new-tree-walk repo rev-commit)
Create new recursive TreeWalk instance (mutable)
Create new recursive TreeWalk instance (mutable)
Protocol for things that resolve ObjectId's.
Protocol for things that resolve ObjectId's.
(resolve-object commit-ish repo)
Find ObjectId instance for any Git name: commit-ish, tree-ish or blob. Accepts ObjectId instances and just passes them through.
Find ObjectId instance for any Git name: commit-ish, tree-ish or blob. Accepts ObjectId instances and just passes them through.
(rev-tree-by-commit rev-walk
rev-commit
&
{:keys [dispose-rev-walk?] :or {dispose-rev-walk? true}})
Get a new RevTree
instance for given rev-commit
, auto-closes given rev-walk
unless optional :dispose-rev-walk?
arg is set to false
Get a new `RevTree` instance for given `rev-commit`, auto-closes given `rev-walk` unless optional `:dispose-rev-walk?` arg is set to `false`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close