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

Function roundUpToMultipleOf8

lib/protocol/SFTP.js:3631–3633  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

3629}
3630
3631function roundUpToMultipleOf8(n) {
3632 return (n + 7) & ~7; // Align to 8 byte boundary.
3633}
3634
3635function ReadStream(sftp, path, options) {
3636 if (options === undefined)

Callers 1

SFTP.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…