MCPcopy Create free account
hub / github.com/PostHog/duckgres / WriteCommandComplete

Function WriteCommandComplete

server/wire/protocol.go:299–303  ·  view source on GitHub ↗

writeCommandComplete sends a command completion message

(w io.Writer, tag string)

Source from the content-addressed store, hash-verified

297 data = append(data, 'C')
298 data = append(data, []byte(code)...)
299 data = append(data, 0)
300
301 // Message
302 data = append(data, 'M')
303 data = append(data, []byte(message)...)
304 data = append(data, 0)
305
306 // Terminator

Callers 2

writeCommandCompleteMethod · 0.92

Calls 1

WriteMessageFunction · 0.85

Tested by

no test coverage detected