MCPcopy Create free account
hub / github.com/dashezup/github-webhook-to-telegram / _format_fork

Function _format_fork

utils/github_webhook.py:116–122  ·  view source on GitHub ↗
(payload: dict)

Source from the content-addressed store, hash-verified

114
115
116async def _format_fork(payload: dict) -> str:
117 forkee = payload['forkee']
118 text = ["\u2192 <a href=\"{url}\">{name}</a>".format(
119 url=forkee['html_url'],
120 name=forkee['full_name']
121 ), await _get_repo_star_and_fork(payload['repository'])]
122 return "\n".join(text)
123
124
125async def _format_issues(payload: dict) -> str:

Callers

nothing calls this directly

Calls 1

_get_repo_star_and_forkFunction · 0.85

Tested by

no test coverage detected