(self, file: MypyFile)
| 162 | self.source_modules[source.module] = source.path or "" |
| 163 | |
| 164 | def is_source(self, file: MypyFile) -> bool: |
| 165 | return ( |
| 166 | (file.path and file.path in self.source_paths) |
| 167 | or file._fullname in self.source_modules |
| 168 | or self.source_text_present |
| 169 | ) |
| 170 | |
| 171 | |
| 172 | class FindModuleCache: |