MCPcopy Create free account
hub / github.com/ezyang/ghstack / all_branches

Function all_branches

src/ghstack/submit.py:264–269  ·  view source on GitHub ↗
(username: str, ghnum: GhNumber)

Source from the content-addressed store, hash-verified

262
263
264def all_branches(username: str, ghnum: GhNumber) -> Tuple[str, str, str]:
265 return (
266 branch_base(username, ghnum),
267 branch_head(username, ghnum),
268 branch_orig(username, ghnum),
269 )
270
271
272def push_spec(commit: GitCommitHash, branch: str) -> str:

Callers

nothing calls this directly

Calls 3

branch_baseFunction · 0.85
branch_headFunction · 0.85
branch_origFunction · 0.85

Tested by

no test coverage detected