MCPcopy Create free account
hub / github.com/cli/cli / Resolve

Method Resolve

pkg/cmd/pr/checkout/checkout_test.go:172–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (s *stubPRResolver) Resolve() (*api.PullRequest, ghrepo.Interface, error) {
173 if s.err != nil {
174 return nil, nil, s.err
175 }
176 return s.pr, s.baseRepo, nil
177}
178
179func Test_checkoutRun(t *testing.T) {
180 tests := []struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected