Class ModifiedFilesCacheKey
java.lang.Object
com.google.gerrit.server.patch.diff.ModifiedFilesCacheKey
Cache key for the
ModifiedFilesCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.eclipse.jgit.lib.ObjectId
aCommit()
Returns the old commit ID used in the git tree diffabstract org.eclipse.jgit.lib.ObjectId
bCommit()
Returns the new commit ID used in the git tree diffbuilder()
abstract Project.NameKey
project()
A specific git project / repository.boolean
abstract int
Percentage score used to identify a file as a "rename".int
weight()
Returns the size of the object in bytes
-
Constructor Details
-
ModifiedFilesCacheKey
public ModifiedFilesCacheKey()
-
-
Method Details
-
project
A specific git project / repository. -
aCommit
public abstract org.eclipse.jgit.lib.ObjectId aCommit()Returns the old commit ID used in the git tree diff -
bCommit
public abstract org.eclipse.jgit.lib.ObjectId bCommit()Returns the new commit ID used in the git tree diff -
renameScore
public abstract int renameScore()Percentage score used to identify a file as a "rename". A special value of -1 means that the computation will ignore renames and rename detection will be disabled. -
renameDetectionEnabled
public boolean renameDetectionEnabled() -
weight
public int weight()Returns the size of the object in bytes -
builder
-