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

Method HTTPUnixSocketCalls

internal/gh/mock/config.go:646–656  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

644//
645// len(mockedConfig.HTTPUnixSocketCalls())
646func (mock *ConfigMock) HTTPUnixSocketCalls() []struct {
647 Hostname string
648} {
649 var calls []struct {
650 Hostname string
651 }
652 mock.lockHTTPUnixSocket.RLock()
653 calls = mock.calls.HTTPUnixSocket
654 mock.lockHTTPUnixSocket.RUnlock()
655 return calls
656}
657
658// Migrate calls MigrateFunc.
659func (mock *ConfigMock) Migrate(migration gh.Migration) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected