Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
17
def
_normalize_repo_name(repo: str) -> str:
18
if
repo.endswith(
".git"
):
19
return
repo[: -len(
".git"
)]
20
return
repo
21
22
23
def
get_github_client(
Callers
2
parse_github_url
Function · 0.85
parse_github_resource_url
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected