(self, source_path, target_path)
return ["# Patch generated by Pyment v{0}\n\n".format(__version__)] + diff
Return the diff between source_path and target_path

        :param source_path: name of the original file (Default value = '')
        :param target_path: name of the final file (Default value = '')

        :return: the diff as a list of \n terminated lines
        :rtype: List[str]
Return the diff between source_path and target_path
Return the diff between source_path and target_path
def get_patch_lines(self, source_path, target_path):
        """Return the diff between source_path and target_path

        :param source_path: name of the original file (Default value = '')
        :param target_path: name of the final file (Default value = '')

        :return: the diff as a list of \n terminated lines
        :rtype: List[str]
        """
        diff = self.diff(source_path, target_path)

        return ["# Patch generated by Pyment v{0}\n\n".format(__version__)] + diff
def get_patch_lines ( self , source_path , target_path ) : diff = self . diff ( source_path , target_path ) return [ "# Patch generated by Pyment v{0}\n\n" . format ( __version__ ) ] + diff