MCPcopy Create free account
hub / github.com/EvoMap/evolver / isDuplicateDiff

Function isDuplicateDiff

src/gep/selfPR.js:181–185  ·  view source on GitHub ↗
(diffHash)

Source from the content-addressed store, hash-verified

179}
180
181function isDuplicateDiff(diffHash) {
182 const state = readState();
183 const recent = Array.isArray(state.recentDiffHashes) ? state.recentDiffHashes : [];
184 return recent.includes(diffHash);
185}
186
187function recordPR(diffHash) {
188 const state = readState();

Callers 1

maybeCreatePRFunction · 0.85

Calls 1

readStateFunction · 0.70

Tested by

no test coverage detected