Reset the database to its initial state.
(self)
| 760 | included_dirs=included_dirs, included_files=included_files) |
| 761 | |
| 762 | def reset_database(self): |
| 763 | """ |
| 764 | Reset the database to its initial state. |
| 765 | """ |
| 766 | self.db = None |
| 767 | self.repo_url_or_path = None |
| 768 | self.repo_paths = None |
| 769 | |
| 770 | def _extract_repo_name_from_url(self, repo_url_or_path: str, repo_type: str) -> str: |
| 771 | # Extract owner and repo name to create unique identifier |