MCPcopy Create free account
hub / github.com/mscdex/ssh2 / makeCb

Function makeCb

lib/protocol/SFTP.js:2361–2365  ·  view source on GitHub ↗
(psrc, pdst, chunk)

Source from the content-addressed store, hash-verified

2359 }
2360
2361 function makeCb(psrc, pdst, chunk) {
2362 return (err, nb, data) => {
2363 onread(err, nb, data, pdst, psrc, chunk);
2364 };
2365 }
2366
2367 function singleRead(psrc, pdst, chunk) {
2368 src.read(srcHandle,

Callers 1

singleReadFunction · 0.85

Calls 1

onreadFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…