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)
| 1160 | return fullname |
| 1161 | |
| 1162 | def Split(self): |
| 1163 | """Splits the file into the directory, basename, and extension. |
| 1164 | |
| 1165 | For 'chrome/browser/browser.cc', Split() would |
| 1166 | return ('chrome/browser', 'browser', '.cc') |
| 1167 | |
| 1168 | Returns: |
| 1169 | A tuple of (directory, basename, extension). |
| 1170 | """ |
| 1171 | |
| 1172 | googlename = self.RepositoryName() |
| 1173 | project, rest = os.path.split(googlename) |
| 1174 | return (project,) + os.path.splitext(rest) |
| 1175 | |
| 1176 | def BaseName(self): |
| 1177 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected