Sets the regex pattern for third-party headers.
(val)
| 1088 | |
| 1089 | |
| 1090 | def ProcessThirdPartyHeadersOption(val): |
| 1091 | """Sets the regex pattern for third-party headers.""" |
| 1092 | global _third_party_headers_pattern |
| 1093 | try: |
| 1094 | _third_party_headers_pattern = re.compile(val) |
| 1095 | except re.error: |
| 1096 | PrintUsage(f"Invalid third_party_headers pattern: {val}") |
| 1097 | |
| 1098 | |
| 1099 | def IsHeaderExtension(file_extension): |
no test coverage detected
searching dependent graphs…