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

Function onunpipe

lib/internal/streams/readable.js:950–958  ·  view source on GitHub ↗
(readable, unpipeInfo)

Source from the content-addressed store, hash-verified

948
949 dest.on('unpipe', onunpipe);
950 function onunpipe(readable, unpipeInfo) {
951 debug('onunpipe');
952 if (readable === src) {
953 if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
954 unpipeInfo.hasUnpiped = true;
955 cleanup();
956 }
957 }
958 }
959
960 function onend() {
961 debug('onend');

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.70
debugFunction · 0.50

Tested by

no test coverage detected