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

Method StubRepoInfoResponse

pkg/httpmock/legacy.go:9–11  ·  view source on GitHub ↗

TODO: clean up methods in this file when there are no more callers

(owner, repo, branch string)

Source from the content-addressed store, hash-verified

7// TODO: clean up methods in this file when there are no more callers
8
9func (r *Registry) StubRepoInfoResponse(owner, repo, branch string) {
10 r.StubRepoInfoResponseWithPermission(owner, repo, branch, "WRITE")
11}
12
13// StubRepoInfoResponseWithPermission is StubRepoInfoResponse with a
14// caller-selected viewer permission.

Callers 7

Test_runBrowseFunction · 0.95
Test_RepoView_WebFunction · 0.95
Test_viewRun_jsonFunction · 0.95
Test_createRun_GHESFunction · 0.95
TestRemoteGuessingFunction · 0.95

Tested by 7

Test_runBrowseFunction · 0.76
Test_RepoView_WebFunction · 0.76
Test_viewRun_jsonFunction · 0.76
Test_createRun_GHESFunction · 0.76
TestRemoteGuessingFunction · 0.76