def modifications(self) -> List[Modification]:
        """
        Return a list of modified files.

        :return: List[Modification] modifications
        """
        if self._modifications is None:
            self._modifications = self._get_modifications()

        return self._modifications
def modifications ( self ) -> List [ Modification ] : if self . _modifications is None : self . _modifications = self . _get_modifications ( ) return self . _modifications
Return a list of modified files.

        :return: List[Modification] modifications