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

Function branch_head

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

Source from the content-addressed store, hash-verified

149
150
151def branch_head(username: str, ghnum: GhNumber) -> GitCommitHash:
152 return branch(username, ghnum, "head")
153
154
155def branch_orig(username: str, ghnum: GhNumber) -> GitCommitHash:

Callers 4

all_branchesFunction · 0.85
_create_pull_requestMethod · 0.85

Calls 1

branchFunction · 0.85

Tested by

no test coverage detected