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

Function _IsSourceExtension

util/cpplint.py:681–683  ·  view source on GitHub ↗

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

(s)

Source from the content-addressed store, hash-verified

679
680
681def _IsSourceExtension(s):
682 """File extension (excluding dot) matches a source file extension."""
683 return s in ('c', 'cc', 'cpp', 'cxx')
684
685
686class _IncludeState(object):

Callers 2

IsSourceMethod · 0.85
ProcessFileDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected