Analyze a single file and its relationships (for concurrent processing)
(
self, file_path: Path, index: int, total: int
)
| 949 | return [] |
| 950 | |
| 951 | async def _analyze_single_file_with_relationships( |
| 952 | self, file_path: Path, index: int, total: int |
| 953 | ) -> tuple: |
| 954 | """Analyze a single file and its relationships (for concurrent processing)""" |
| 955 | if self.verbose_output: |
| 956 | self.logger.info(f"Analyzing file {index}/{total}: {file_path.name}") |
| 957 | |
| 958 | # Get file summary |
| 959 | file_summary = await self.analyze_file_content(file_path) |
| 960 | |
| 961 | # Find relationships |
| 962 | relationships = await self.find_relationships(file_summary) |
| 963 | |
| 964 | return file_summary, relationships |
| 965 | |
| 966 | async def process_repository(self, repo_path: Path) -> RepoIndex: |
| 967 | """Process a single repository and create complete index with optional concurrent processing""" |
no test coverage detected