Lines Matching refs:filepath
39 for filepath in filepaths:
40 parser = fileparser.CreateParser(filepath)
43 filepath)
45 old_file_contents = ReadFileIntoString(filepath)
49 filepath)
52 ReportWarning('cannot find copyright block in file %s' % filepath)
57 holder, filepath))
65 WriteStringToFile(new_file_contents, filepath)
92 def ReadFileIntoString(filepath):
95 with open(filepath, 'r') as file_handle:
100 def WriteStringToFile(string, filepath):
101 """Writes this string out to filepath, replacing the file if it already
104 with open(filepath, 'w') as file_handle: