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

Method BaseName

cpplint.py:1795–1797  ·  view source on GitHub ↗

File base name - text after the final slash, before the final period.

(self)

Source from the content-addressed store, hash-verified

1793 return (project,) + os.path.splitext(rest)
1794
1795 def BaseName(self):
1796 """File base name - text after the final slash, before the final period."""
1797 return self.Split()[1]
1798
1799 def Extension(self):
1800 """File extension - text following the final period, includes that period."""

Callers 3

CheckHeaderFileIncludedFunction · 0.95
CheckIncludeLineFunction · 0.95
FilesBelongToSameModuleFunction · 0.95

Calls 1

SplitMethod · 0.95

Tested by

no test coverage detected