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)
| 932 | return fullname |
| 933 | |
| 934 | def Split(self): |
| 935 | """Splits the file into the directory, basename, and extension. |
| 936 | |
| 937 | For 'chrome/browser/browser.cc', Split() would |
| 938 | return ('chrome/browser', 'browser', '.cc') |
| 939 | |
| 940 | Returns: |
| 941 | A tuple of (directory, basename, extension). |
| 942 | """ |
| 943 | |
| 944 | googlename = self.RepositoryName() |
| 945 | project, rest = os.path.split(googlename) |
| 946 | return (project,) + os.path.splitext(rest) |
| 947 | |
| 948 | def BaseName(self): |
| 949 | """File base name - text after the final slash, before the final period.""" |
no test coverage detected