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

Method PreVersion

internal/gh/mock/migration.go:126–136  ·  view source on GitHub ↗

PreVersion calls PreVersionFunc.

()

Source from the content-addressed store, hash-verified

124
125// PreVersion calls PreVersionFunc.
126func (mock *MigrationMock) PreVersion() string {
127 if mock.PreVersionFunc == nil {
128 panic("MigrationMock.PreVersionFunc: method is nil but Migration.PreVersion was just called")
129 }
130 callInfo := struct {
131 }{}
132 mock.lockPreVersion.Lock()
133 mock.calls.PreVersion = append(mock.calls.PreVersion, callInfo)
134 mock.lockPreVersion.Unlock()
135 return mock.PreVersionFunc()
136}
137
138// PreVersionCalls gets all the calls that were made to PreVersion.
139// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected