MCPcopy
hub / github.com/di-sukharev/opencommit / destroyRequest

Function destroyRequest

out/cli.cjs:25452–25458  ·  view source on GitHub ↗
(request3, error)

Source from the content-addressed store, hash-verified

25450 return CustomError;
25451 }
25452 function destroyRequest(request3, error) {
25453 for (var event of events) {
25454 request3.removeListener(event, eventHandlers[event]);
25455 }
25456 request3.on("error", noop2);
25457 request3.destroy(error);
25458 }
25459 function isSubdomain(subdomain, domain) {
25460 assert2(isString2(subdomain) && isString2(domain));
25461 var dot = subdomain.length - domain.length - 1;

Calls 3

removeListenerMethod · 0.80
onMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…