MCPcopy
hub / github.com/hesreallyhim/awesome-claude-code / _normalize_repo_name

Function _normalize_repo_name

scripts/utils/github_utils.py:17–20  ·  view source on GitHub ↗
(repo: str)

Source from the content-addressed store, hash-verified

15
16
17def _normalize_repo_name(repo: str) -> str:
18 if repo.endswith(".git"):
19 return repo[: -len(".git")]
20 return repo
21
22
23def get_github_client(

Callers 2

parse_github_urlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected