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

Method SetDeadline

internal/codespaces/connection/tunnels_api_server_mock.go:498–503  ·  view source on GitHub ↗
(deadline time.Time)

Source from the content-addressed store, hash-verified

496}
497
498func (s *socketConn) SetDeadline(deadline time.Time) error {
499 if err := s.Conn.SetReadDeadline(deadline); err != nil {
500 return err
501 }
502 return s.Conn.SetWriteDeadline(deadline)
503}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected