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

Function omit2

out/cli.cjs:26321–26330  ·  view source on GitHub ↗
(obj, ...keys)

Source from the content-addressed store, hash-verified

26319 socket.resume();
26320 }
26321 function omit2(obj, ...keys) {
26322 const ret = {};
26323 let key;
26324 for (key in obj) {
26325 if (!keys.includes(key)) {
26326 ret[key] = obj[key];
26327 }
26328 }
26329 return ret;
26330 }
26331 }
26332});
26333

Callers 2

constructorMethod · 0.85
connectMethod · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…