Class GitFileDiffCacheKey
java.lang.Object
com.google.gerrit.server.patch.gitfilediff.GitFileDiffCacheKey
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic enum
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic GitFileDiffCacheKey.Builderbuilder()abstract GitFileDiffCacheImpl.DiffAlgorithmabstract StringFile name in the tree identified bynewTree()abstract org.eclipse.jgit.lib.ObjectIdnewTree()The new 20 bytes SHA-1 git tree ID used in the git tree diffabstract org.eclipse.jgit.lib.ObjectIdoldTree()The old 20 bytes SHA-1 git tree ID used in the git tree diff.abstract Project.NameKeyproject()A specific git project / repository.abstract intPercentage score used to identify a file as a "rename".abstract booleanEmploy a timeout on the git computation while formatting the file header.intweight()abstract DiffPreferencesInfo.Whitespace
- 
Constructor Details- 
GitFileDiffCacheKeypublic GitFileDiffCacheKey()
 
- 
- 
Method Details- 
projectA specific git project / repository.
- 
oldTreepublic abstract org.eclipse.jgit.lib.ObjectId oldTree()The old 20 bytes SHA-1 git tree ID used in the git tree diff. If equals toObjectId.zeroId(), a null tree is used for the diff scan, andnewTree()()} is treated as an added tree.
- 
newTreepublic abstract org.eclipse.jgit.lib.ObjectId newTree()The new 20 bytes SHA-1 git tree ID used in the git tree diff
- 
newFilePathFile name in the tree identified bynewTree()
- 
renameScorepublic 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.
- 
diffAlgorithm
- 
whitespace
- 
useTimeoutpublic abstract boolean useTimeout()Employ a timeout on the git computation while formatting the file header.
- 
weightpublic int weight()
- 
builder
 
-