MCPcopy Index your code
hub / github.com/brianc/node-postgres / copyData

Function copyData

packages/pg-protocol/src/serializer.ts:244–246  ·  view source on GitHub ↗
(chunk: Buffer)

Source from the content-addressed store, hash-verified

242}
243
244const copyData = (chunk: Buffer): Buffer => {
245 return writer.add(chunk).flush(code.copyFromChunk)
246}
247
248const copyFail = (message: string): Buffer => {
249 return cstringMessage(code.copyFail, message)

Callers

nothing calls this directly

Calls 2

flushMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected