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

Method IsSource

tools/cpplint.py:1852–1854  ·  view source on GitHub ↗

File has a source file extension.

(self)

Source from the content-addressed store, hash-verified

1850 return "/".join(self.Split()[0:2])
1851
1852 def IsSource(self):
1853 """File has a source file extension."""
1854 return _IsSourceExtension(self.Extension()[1:])
1855
1856
1857def _ShouldPrintError(category, confidence, filename, linenum):

Callers

nothing calls this directly

Calls 2

ExtensionMethod · 0.95
_IsSourceExtensionFunction · 0.85

Tested by

no test coverage detected