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)
| 1626 | return fullname |
| 1627 | |
| 1628 | def Split(self): |
| 1629 | """Splits the file into the directory, basename, and extension. |
| 1630 | |
| 1631 | For 'chrome/browser/browser.cc', Split() would |
| 1632 | return ('chrome/browser', 'browser', '.cc') |
| 1633 | |
| 1634 | Returns: |
| 1635 | A tuple of (directory, basename, extension). |
| 1636 | """ |
| 1637 | |
| 1638 | googlename = self.RepositoryName() |
| 1639 | project, rest = os.path.split(googlename) |
| 1640 | return (project,) + os.path.splitext(rest) |
| 1641 | |
| 1642 | def BaseName(self): |
| 1643 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected