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

Method Fetch

pkg/cmd/extension/git.go:44–46  ·  view source on GitHub ↗
(remote string, refspec string)

Source from the content-addressed store, hash-verified

42}
43
44func (g *gitExecuter) Fetch(remote string, refspec string) error {
45 return g.client.Fetch(context.Background(), remote, refspec)
46}
47
48func (g *gitExecuter) ForRepo(repoDir string) gitClient {
49 gc := g.client.Copy()

Callers

nothing calls this directly

Calls 1

FetchMethod · 0.65

Tested by

no test coverage detected