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

Function branch_next

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

Source from the content-addressed store, hash-verified

157
158
159def branch_next(username: str, ghnum: GhNumber) -> GitCommitHash:
160 return branch(username, ghnum, "next")
161
162
163RE_MENTION = re.compile(r"(?<!\w)@([a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})", re.I)

Callers 1

Calls 1

branchFunction · 0.85

Tested by

no test coverage detected