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)
| 1824 | return fullname |
| 1825 | |
| 1826 | def Split(self): |
| 1827 | """Splits the file into the directory, basename, and extension. |
| 1828 | |
| 1829 | For 'chrome/browser/browser.cc', Split() would |
| 1830 | return ('chrome/browser', 'browser', '.cc') |
| 1831 | |
| 1832 | Returns: |
| 1833 | A tuple of (directory, basename, extension). |
| 1834 | """ |
| 1835 | |
| 1836 | googlename = self.RepositoryName() |
| 1837 | project, rest = os.path.split(googlename) |
| 1838 | return (project,) + os.path.splitext(rest) |
| 1839 | |
| 1840 | def BaseName(self): |
| 1841 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected