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

Function compressZstdSync

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

Source from the content-addressed store, hash-verified

767}
768
769function compressZstdSync(options = kNullPrototype) {
770 validateObject(options, 'options');
771 return makeZlibTransformSync(
772 (cb, onErr) => createZstdHandle(ZSTD_COMPRESS, options, cb, onErr),
773 ZSTD_e_continue, ZSTD_e_end,
774 );
775}
776
777// ---------------------------------------------------------------------------
778// Sync decompression factories

Callers 2

testZstdRoundTripFunction · 0.85
testZstdLargeDataFunction · 0.85

Calls 2

makeZlibTransformSyncFunction · 0.85
createZstdHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…