Class GitFileDiffCacheKey


  • public abstract class GitFileDiffCacheKey
    extends Object
    • Constructor Detail

      • GitFileDiffCacheKey

        public GitFileDiffCacheKey()
    • Method Detail

      • project

        public abstract Project.NameKey project()
        A specific git project / repository.
      • oldTree

        public abstract org.eclipse.jgit.lib.ObjectId oldTree()
        The old 20 bytes SHA-1 git tree ID used in the git tree diff
      • newTree

        public abstract org.eclipse.jgit.lib.ObjectId newTree()
        The new 20 bytes SHA-1 git tree ID used in the git tree diff
      • newFilePath

        public abstract String newFilePath()
        File name in the tree identified by newTree()
      • 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.
      • weight

        public int weight()