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

Function isInCooldown

src/gep/selfPR.js:161–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161function isInCooldown() {
162 const state = readState();
163 if (!state.lastPRAt) return false;
164 const elapsed = Date.now() - new Date(state.lastPRAt).getTime();
165 return elapsed < SELF_PR_COOLDOWN_MS;
166}
167
168function computeDiffHash(changedFiles, repoRoot) {
169 const diffParts = [];

Callers 1

maybeCreatePRFunction · 0.85

Calls 1

readStateFunction · 0.70

Tested by

no test coverage detected