MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / IsSource

Method IsSource

util/cpplint.py:1157–1159  ·  view source on GitHub ↗

File has a source file extension.

(self)

Source from the content-addressed store, hash-verified

1155 return '/'.join(self.Split()[0:2])
1156
1157 def IsSource(self):
1158 """File has a source file extension."""
1159 return _IsSourceExtension(self.Extension()[1:])
1160
1161
1162def _ShouldPrintError(category, confidence, linenum):

Callers 1

FilesBelongToSameModuleFunction · 0.95

Calls 2

ExtensionMethod · 0.95
_IsSourceExtensionFunction · 0.85

Tested by

no test coverage detected