Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
244
const
copyData = (chunk: Buffer): Buffer => {
245
return
writer.add(chunk).flush(code.copyFromChunk)
246
}
247
248
const
copyFail = (message: string): Buffer => {
249
return
cstringMessage(code.copyFail, message)
Callers
nothing calls this directly
Calls
2
flush
Method · 0.45
add
Method · 0.45
Tested by
no test coverage detected