Splits the file into the directory, basename, and extension. For 'chrome/browser/browser.cc', Split() would return ('chrome/browser', 'browser', '.cc') Returns: A tuple of (directory, basename, extension).
(self)
| 928 | return fullname |
| 929 | |
| 930 | def Split(self): |
| 931 | """Splits the file into the directory, basename, and extension. |
| 932 | |
| 933 | For 'chrome/browser/browser.cc', Split() would |
| 934 | return ('chrome/browser', 'browser', '.cc') |
| 935 | |
| 936 | Returns: |
| 937 | A tuple of (directory, basename, extension). |
| 938 | """ |
| 939 | |
| 940 | googlename = self.RepositoryName() |
| 941 | project, rest = os.path.split(googlename) |
| 942 | return (project,) + os.path.splitext(rest) |
| 943 | |
| 944 | def BaseName(self): |
| 945 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected