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

Method Close

pkg/cmd/codespace/ssh.go:151–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151func (crwc *combinedReadWriteHalfCloser) Close() error {
152 werr := crwc.WriteCloser.Close()
153 rerr := crwc.ReadCloser.Close()
154 if werr != nil {
155 return werr
156 }
157 return rerr
158}
159
160func (crwc *combinedReadWriteHalfCloser) CloseWrite() error {
161 return crwc.WriteCloser.Close()

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected