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

Method DoCalls

internal/gh/mock/migration.go:86–96  ·  view source on GitHub ↗

DoCalls gets all the calls that were made to Do. Check the length with: len(mockedMigration.DoCalls())

()

Source from the content-addressed store, hash-verified

84//
85// len(mockedMigration.DoCalls())
86func (mock *MigrationMock) DoCalls() []struct {
87 Config *ghConfig.Config
88} {
89 var calls []struct {
90 Config *ghConfig.Config
91 }
92 mock.lockDo.RLock()
93 calls = mock.calls.Do
94 mock.lockDo.RUnlock()
95 return calls
96}
97
98// PostVersion calls PostVersionFunc.
99func (mock *MigrationMock) PostVersion() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected