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)
| 1031 | return fullname |
| 1032 | |
| 1033 | def Split(self): |
| 1034 | """Splits the file into the directory, basename, and extension. |
| 1035 | |
| 1036 | For 'chrome/browser/browser.cc', Split() would |
| 1037 | return ('chrome/browser', 'browser', '.cc') |
| 1038 | |
| 1039 | Returns: |
| 1040 | A tuple of (directory, basename, extension). |
| 1041 | """ |
| 1042 | |
| 1043 | googlename = self.RepositoryName() |
| 1044 | project, rest = os.path.split(googlename) |
| 1045 | return (project,) + os.path.splitext(rest) |
| 1046 | |
| 1047 | def BaseName(self): |
| 1048 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected