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

Function push_spec

src/ghstack/submit.py:272–273  ·  view source on GitHub ↗
(commit: GitCommitHash, branch: str)

Source from the content-addressed store, hash-verified

270
271
272def push_spec(commit: GitCommitHash, branch: str) -> str:
273 return "{}:refs/heads/{}".format(commit, branch)
274
275
276@dataclass(frozen=True)

Callers 2

process_commitMethod · 0.85
push_updatesMethod · 0.85

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected