MCPcopy Index your code
hub / github.com/github/copilot-sdk / writeText

Method writeText

go/copilot_request_handler.go:765–767  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

763}
764
765func (s *responseSink) writeText(data []byte) error {
766 return s.writeRaw(string(data), false)
767}
768
769func (s *responseSink) writeBinary(data []byte) error {
770 return s.writeRaw(base64.StdEncoding.EncodeToString(data), true)

Callers 2

streamResponseToSinkFunction · 0.80
SendTextMethod · 0.80

Calls 1

writeRawMethod · 0.95

Tested by

no test coverage detected