new RevWalk(rawRepo, rawRevWalk)
Convenience revision walking class
Parameters:
Name | Type | Description |
---|---|---|
rawRepo |
git.raw.Repo | |
rawRevWalk |
git.raw.RevWalk | null |
- Source:
- revwalk.js, line 11
Methods
-
allocate(callback)
-
Allocate new revwalker.
Parameters:
Name Type Description callback
Function - Source:
- revwalk.js, line 30
-
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:
- revwalk.js, line 47