MCPcopy Create free account
hub / github.com/BVLC/caffe / BaseName

Method BaseName

scripts/cpp_lint.py:948–950  ·  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

946 return (project,) + os.path.splitext(rest)
947
948 def BaseName(self):
949 """File base name - text after the final slash, before the final period."""
950 return self.Split()[1]
951
952 def Extension(self):
953 """File extension - text following the final period."""

Callers 1

CheckIncludeLineFunction · 0.95

Calls 1

SplitMethod · 0.95

Tested by

no test coverage detected