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)
| 1779 | return fullname |
| 1780 | |
| 1781 | def Split(self): |
| 1782 | """Splits the file into the directory, basename, and extension. |
| 1783 | |
| 1784 | For 'chrome/browser/browser.cc', Split() would |
| 1785 | return ('chrome/browser', 'browser', '.cc') |
| 1786 | |
| 1787 | Returns: |
| 1788 | A tuple of (directory, basename, extension). |
| 1789 | """ |
| 1790 | |
| 1791 | googlename = self.RepositoryName() |
| 1792 | project, rest = os.path.split(googlename) |
| 1793 | return (project,) + os.path.splitext(rest) |
| 1794 | |
| 1795 | def BaseName(self): |
| 1796 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected