MCPcopy Index your code
hub / github.com/nodejs/node / compressGzipSync

Function compressGzipSync

lib/internal/streams/iter/transform.js:745–751  ·  view source on GitHub ↗
(options = kNullPrototype)

Source from the content-addressed store, hash-verified

743// ---------------------------------------------------------------------------
744
745function compressGzipSync(options = kNullPrototype) {
746 validateObject(options, 'options');
747 return makeZlibTransformSync(
748 (cb, onErr) => createZlibHandle(GZIP, options, cb, onErr),
749 Z_NO_FLUSH, Z_FINISH,
750 );
751}
752
753function compressDeflateSync(options = kNullPrototype) {
754 validateObject(options, 'options');

Callers 11

testGzipRoundTripFunction · 0.85
testGzipLargeDataFunction · 0.85
testGzipBinaryDataFunction · 0.85
testGzipWithOptionsFunction · 0.85
testEarlyExitFunction · 0.85
testEmptyInputFunction · 0.85

Calls 2

makeZlibTransformSyncFunction · 0.85
createZlibHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…