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

Method IsAncestor

pkg/cmd/repo/sync/mocks.go:42–45  ·  view source on GitHub ↗
(a, b string)

Source from the content-addressed store, hash-verified

40}
41
42func (g *mockGitClient) IsAncestor(a, b string) (bool, error) {
43 args := g.Called(a, b)
44 return args.Bool(0), args.Error(1)
45}
46
47func (g *mockGitClient) IsDirty() (bool, error) {
48 args := g.Called()

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected