MCPcopy Index your code
hub / github.com/cpplint/cpplint / IsSource

Method IsSource

cpplint.py:1807–1809  ·  view source on GitHub ↗

File has a source file extension.

(self)

Source from the content-addressed store, hash-verified

1805 return "/".join(self.Split()[0:2])
1806
1807 def IsSource(self):
1808 """File has a source file extension."""
1809 return _IsSourceExtension(self.Extension()[1:])
1810
1811
1812def _ShouldPrintError(category, confidence, filename, linenum):

Callers

nothing calls this directly

Calls 2

ExtensionMethod · 0.95
_IsSourceExtensionFunction · 0.85

Tested by

no test coverage detected