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

Method PostVersion

internal/gh/mock/migration.go:99–109  ·  view source on GitHub ↗

PostVersion calls PostVersionFunc.

()

Source from the content-addressed store, hash-verified

97
98// PostVersion calls PostVersionFunc.
99func (mock *MigrationMock) PostVersion() string {
100 if mock.PostVersionFunc == nil {
101 panic("MigrationMock.PostVersionFunc: method is nil but Migration.PostVersion was just called")
102 }
103 callInfo := struct {
104 }{}
105 mock.lockPostVersion.Lock()
106 mock.calls.PostVersion = append(mock.calls.PostVersion, callInfo)
107 mock.lockPostVersion.Unlock()
108 return mock.PostVersionFunc()
109}
110
111// PostVersionCalls gets all the calls that were made to PostVersion.
112// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected