Liking cljdoc? Tell your friends :D

clj-jgit.internal


bound-commitclj

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

canonical-tree-parserclj

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

close-rev-walkclj

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

get-head-commitclj

(get-head-commit repo)

Return HEAD RevCommit instance

Return HEAD RevCommit instance
sourceraw docstring

get-refsclj

(get-refs repo prefix)
source

new-rev-walkclj

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

new-tree-walkclj

(new-tree-walk repo rev-commit)

Create new recursive TreeWalk instance (mutable)

Create new recursive TreeWalk instance (mutable)
sourceraw docstring

ref-databaseclj

(ref-database repo)
source

ref-specclj

(ref-spec str)
source

Resolvablecljprotocol

Protocol for things that resolve ObjectId's.

Protocol for things that resolve ObjectId's.

resolve-objectclj

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

rev-tree-by-commitclj

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

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

× close