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

Function singleRead

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

Source from the content-addressed store, hash-verified

2365 }
2366
2367 function singleRead(psrc, pdst, chunk) {
2368 src.read(srcHandle,
2369 readbuf,
2370 psrc,
2371 chunk,
2372 pdst,
2373 makeCb(psrc, pdst, chunk));
2374 }
2375
2376 function startReads() {
2377 let reads = 0;

Callers 2

writeCbFunction · 0.85
startReadsFunction · 0.85

Calls 2

makeCbFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…