()
| 1744 | pass |
| 1745 | |
| 1746 | |
| 1747 | |
| 1748 | def _add_accessible_sponsor_repositories_to_project_save(repos_dir): |
| 1749 | """Checks both Sponsors-Only tiers and adds the ones the connected GitHub account can access.""" |
| 1750 | status_lines = ["Sponsors-Only access check for DedSec Project Legacy Save:"] |
| 1751 | try: |
| 1752 | if not shutil.which("gh") or not github_auth_status(): |
| 1753 | status_lines.append("- GitHub is not connected in gh, so sponsor repositories were not included.") |
| 1754 | status_path = os.path.join(repos_dir, "Sponsors-Only Access Status.txt") |
| 1755 | with open(status_path, "w", encoding="utf-8") as handle: |
| 1756 | handle.write("\n".join(status_lines) + "\n") |
| 1757 | return |
| 1758 |
no outgoing calls
no test coverage detected