Fork me on GitHub
nodegit by tbranyen & faceleg

RevWalk

new RevWalk(rawRepo, rawRevWalk)

Convenience revision walking class
Parameters:
Name Type Description
rawRepo git.raw.Repo
rawRevWalk git.raw.RevWalk | null
Source:

Methods

allocate(callback)

Allocate new revwalker.
Parameters:
Name Type Description
callback Function
Source:

walk(oid, callback)

Walk the history from the given oid.
Parameters:
Name Type Description
oid Oid
callback Function Callback accepting the following arguments: error, index, commit, noMoreCommits
Source: