MCPcopy Index your code
hub / github.com/cli/cli / Fetch

Method Fetch

pkg/cmd/extension/mocks.go:32–35  ·  view source on GitHub ↗
(remote string, refspec string)

Source from the content-addressed store, hash-verified

30}
31
32func (g *mockGitClient) Fetch(remote string, refspec string) error {
33 args := g.Called(remote, refspec)
34 return args.Error(0)
35}
36
37func (g *mockGitClient) ForRepo(repoDir string) gitClient {
38 args := g.Called(repoDir)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected