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

Function _IsSourceExtension

tools/cpplint.py:1247–1249  ·  view source on GitHub ↗

File extension (excluding dot) matches a source file extension.

(s)

Source from the content-addressed store, hash-verified

1245
1246
1247def _IsSourceExtension(s):
1248 """File extension (excluding dot) matches a source file extension."""
1249 return s in GetNonHeaderExtensions()
1250
1251
1252class _IncludeState:

Callers 3

IsSourceMethod · 0.85
CheckLanguageFunction · 0.85
ProcessFileDataFunction · 0.85

Calls 1

GetNonHeaderExtensionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…