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

Function restEntry

script/ghmock/scaffold_test.go:84–87  ·  view source on GitHub ↗
(run, name string)

Source from the content-addressed store, hash-verified

82}
83
84func restEntry(run, name string) loggedRequest {
85 method, path, _ := strings.Cut(name, " ")
86 return loggedRequest{Run: run, Binary: "gh", Method: method, Host: apiHost, Path: path, Name: name}
87}
88
89func TestCmdScaffold(t *testing.T) {
90 const repoName = `query RepoName { repository(owner: "o", name: "r") { name } }`

Callers 1

TestCmdScaffoldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected