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

Method writeData

lib/protocol/SFTP.js:498–501  ·  view source on GitHub ↗
(handle, buf, off, len, position, cb)

Source from the content-addressed store, hash-verified

496 }
497 }
498 writeData(handle, buf, off, len, position, cb) {
499 // Backwards compatibility
500 this.write(handle, buf, off, len, position, cb);
501 }
502 fastGet(remotePath, localPath, opts, cb) {
503 if (this.server)
504 throw new Error('Client-only method called in server mode');

Callers

nothing calls this directly

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected