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

Class PreBranchState

src/ghstack/submit.py:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82@dataclass(frozen=True)
83class PreBranchState:
84 # NB: these do not necessarily coincide with head/base branches.
85 # In particular, in direct mode, the base commit will typically be
86 # another head branch, or the upstream main branch itself.
87 base_commit_id: GitCommitHash
88 head_commit_id: GitCommitHash
89
90
91# Ya, sometimes we get carriage returns. Crazy right?

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected