MCPcopy
hub / github.com/cli/cli / WriteCalls

Method WriteCalls

internal/gh/mock/config.go:881–889  ·  view source on GitHub ↗

WriteCalls gets all the calls that were made to Write. Check the length with: len(mockedConfig.WriteCalls())

()

Source from the content-addressed store, hash-verified

879//
880// len(mockedConfig.WriteCalls())
881func (mock *ConfigMock) WriteCalls() []struct {
882} {
883 var calls []struct {
884 }
885 mock.lockWrite.RLock()
886 calls = mock.calls.Write
887 mock.lockWrite.RUnlock()
888 return calls
889}

Callers 2

TestDeleteRunFunction · 0.80
TestSetRunFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestDeleteRunFunction · 0.64
TestSetRunFunction · 0.64