MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / remove

Function remove

out/cli.cjs:1579–1584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1577 ev = "afterexit";
1578 }
1579 var remove = function() {
1580 emitter.removeListener(ev, cb);
1581 if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
1582 unload();
1583 }
1584 };
1585 emitter.on(ev, cb);
1586 return remove;
1587 };

Callers

nothing calls this directly

Calls 4

removeListenerMethod · 0.80
filterMethod · 0.80
endMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…