MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / load_github_account_config

Function load_github_account_config

Scripts/Settings.py:1186–1195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1184 if behind_count > 0:
1185 update_changed = bool(force_update_repo(existing_dedsec_path, repo_url))
1186 dedsec_size = get_dedsec_size(existing_dedsec_path)
1187 print(f"[+] {_('Update applied. DedSec Project Size')}: {dedsec_size}")
1188 else:
1189 print(_("No available update found."))
1190 else:
1191 existing_dedsec_path = clone_repo(repo_url)
1192 update_changed = True
1193 dedsec_size = get_dedsec_size(existing_dedsec_path)
1194 print(f"[+] {_('Cloned new DedSec repository. DedSec Project Size')}: {dedsec_size}")
1195 except Exception as exc:
1196 update_error = exc
1197 raise
1198 finally:

Calls

no outgoing calls

Tested by

no test coverage detected