Class FileEdits
java.lang.Object
com.google.gerrit.server.patch.filediff.FileEdits
An entity class containing the list of edits between two commits for a file, and the old and new
paths.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileEdits
create
(com.google.common.collect.ImmutableList<Edit> edits, Optional<String> oldPath, Optional<String> newPath) static FileEdits
createFromJgitEdits
(com.google.common.collect.ImmutableList<org.eclipse.jgit.diff.Edit> jgitEdits, Optional<String> oldPath, Optional<String> newPath) abstract com.google.common.collect.ImmutableList<Edit>
edits()
static FileEdits
empty()
newPath()
oldPath()
-
Constructor Details
-
FileEdits
public FileEdits()
-
-
Method Details
-
create
-
createFromJgitEdits
-
edits
-
oldPath
-
newPath
-
empty
-