Class CommitHistory
- java.lang.Object
-
- org.uberfire.java.nio.fs.jgit.util.model.CommitHistory
-
public class CommitHistory extends Object
-
-
Constructor Summary
Constructors Constructor Description CommitHistory(List<org.eclipse.jgit.revwalk.RevCommit> commits, Map<org.eclipse.jgit.lib.AnyObjectId,String> pathsByCommit, String trackedPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.eclipse.jgit.revwalk.RevCommit>getCommits()StringgetTrackedFilePath()StringtrackedFileNameChangeFor(org.eclipse.jgit.lib.AnyObjectId commitId)
-
-
-
Method Detail
-
getCommits
public List<org.eclipse.jgit.revwalk.RevCommit> getCommits()
-
getTrackedFilePath
public String getTrackedFilePath()
- Returns:
- The initial file path that was followed, or else the root path (/) if none was given.
-
trackedFileNameChangeFor
public String trackedFileNameChangeFor(org.eclipse.jgit.lib.AnyObjectId commitId)
-
-