webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions
webkitpy.common.checkout.diff_parser Namespace Reference

Classes

class  DiffFile
 
class  DiffParser
 

Functions

def match (pattern, string)
 
def git_diff_to_svn_diff (line)
 
def svn_diff_to_svn_diff (line)
 
def get_diff_converter (lines)
 

Function Documentation

◆ get_diff_converter()

def webkitpy.common.checkout.diff_parser.get_diff_converter (   lines)
Gets a converter function of diff lines.

Args:
  lines: The lines of a diff file.
         If this line is git formatted, we'll return a
         converter from git to SVN.

◆ git_diff_to_svn_diff()

def webkitpy.common.checkout.diff_parser.git_diff_to_svn_diff (   line)
Converts a git formatted diff line to a svn formatted line.

Args:
  line: A string representing a line of the diff.

◆ match()

def webkitpy.common.checkout.diff_parser.match (   pattern,
  string 
)
Matches the string with the pattern, caching the compiled regexp.

◆ svn_diff_to_svn_diff()

def webkitpy.common.checkout.diff_parser.svn_diff_to_svn_diff (   line)