MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / IsSource

Method IsSource

rtpose_wrapper/scripts/cpp_lint.py:956–958  ·  view source on GitHub ↗

File has a source file extension.

(self)

Source from the content-addressed store, hash-verified

954 return '/'.join(self.Split()[0:2])
955
956 def IsSource(self):
957 """File has a source file extension."""
958 return self.Extension()[1:] in ('c', 'cc', 'cpp', 'cxx')
959
960
961def _ShouldPrintError(category, confidence, linenum):

Callers

nothing calls this directly

Calls 1

ExtensionMethod · 0.95

Tested by

no test coverage detected