(self, path)
| 79 | self.prefix = None |
| 80 | |
| 81 | def get_file(self, path): |
| 82 | if path not in self.files: |
| 83 | self.files[path] = SourceFile(path) |
| 84 | if self.prefix is None: |
| 85 | self.prefix = path |
| 86 | else: |
| 87 | self.prefix = os.path.commonpath([self.prefix, path]) |
| 88 | return self.files[path] |
| 89 | |
| 90 | def clean_path(self, path): |
| 91 | path = path[len(self.prefix):] |
no test coverage detected