MCPcopy Index your code
hub / github.com/nodejs/node / ProcessExtensionsOption

Function ProcessExtensionsOption

tools/cpplint.py:1117–1127  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

1115
1116
1117def ProcessExtensionsOption(val):
1118 global _valid_extensions
1119 try:
1120 extensions = [ext.strip() for ext in val.split(",")]
1121 _valid_extensions = set(extensions)
1122 except ValueError:
1123 PrintUsage(
1124 "Extensions should be a comma-separated list of values;"
1125 "for example: extensions=hpp,cpp\n"
1126 f'This could not be parsed: "{val}"'
1127 )
1128
1129
1130def GetNonHeaderExtensions():

Callers 2

ProcessConfigOverridesFunction · 0.85
ParseArgumentsFunction · 0.85

Calls 3

PrintUsageFunction · 0.70
setFunction · 0.50
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…