Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
42
func
(g *mockGitClient) IsAncestor(a, b string) (bool, error) {
43
args := g.Called(a, b)
44
return
args.Bool(0), args.Error(1)
45
}
46
47
func
(g *mockGitClient) IsDirty() (bool, error) {
48
args := g.Called()
Callers
nothing calls this directly
Calls
1
Error
Method · 0.45
Tested by
no test coverage detected