MCPcopy Create free account
hub / github.com/apache/mesos / _IsSourceExtension

Function _IsSourceExtension

support/cpplint.py:697–699  ·  view source on GitHub ↗

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

(s)

Source from the content-addressed store, hash-verified

695
696
697def _IsSourceExtension(s):
698 """File extension (excluding dot) matches a source file extension."""
699 return s in ('c', 'cc', 'cpp', 'cxx')
700
701
702class _IncludeState(object):

Callers 2

IsSourceMethod · 0.85
ProcessFileDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected