MCPcopy
hub / github.com/brianc/node-postgres / close

Function close

packages/pg-protocol/src/serializer.ts:239–242  ·  view source on GitHub ↗
(msg: PortalOpts)

Source from the content-addressed store, hash-verified

237}
238
239const close = (msg: PortalOpts): Buffer => {
240 const text = `${msg.type}${msg.name || ''}`
241 return cstringMessage(code.close, text)
242}
243
244const copyData = (chunk: Buffer): Buffer => {
245 return writer.add(chunk).flush(code.copyFromChunk)

Callers

nothing calls this directly

Calls 1

cstringMessageFunction · 0.85

Tested by

no test coverage detected