Class GitModifiedFilesCacheKey

    • Constructor Detail

      • GitModifiedFilesCacheKey

        public GitModifiedFilesCacheKey()
    • Method Detail

      • project

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

        public abstract org.eclipse.jgit.lib.ObjectId aTree()
        The git SHA-1 ObjectId of the first git tree object for which the diff should be computed.
      • bTree

        public abstract org.eclipse.jgit.lib.ObjectId bTree()
        The git SHA-1 ObjectId of the second git tree object for which the diff should be computed.
      • renameScore

        public abstract int renameScore()
        Percentage score used to identify a file as a rename. This value is only available if renameDetection() is true. Otherwise, this method will return -1.

        This value will be used to set the rename score of DiffFormatter.getRenameDetector().

      • renameDetection

        public boolean renameDetection()
        Returns true if rename detection was set for this key.
      • weight

        public int weight()
        Returns the size of the object in bytes