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

Method ForRepo

pkg/cmd/extension/mocks.go:37–43  ·  view source on GitHub ↗
(repoDir string)

Source from the content-addressed store, hash-verified

35}
36
37func (g *mockGitClient) ForRepo(repoDir string) gitClient {
38 args := g.Called(repoDir)
39 if v, ok := args.Get(0).(*mockGitClient); ok {
40 return v
41 }
42 return nil
43}
44
45func (g *mockGitClient) Pull(remote, branch string) error {
46 args := g.Called(remote, branch)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected