MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / getActiveRepoJob

Function getActiveRepoJob

website/api/lib/security.js:110–113  ·  view source on GitHub ↗
(repoKey, now = Date.now())

Source from the content-addressed store, hash-verified

108}
109
110function getActiveRepoJob(repoKey, now = Date.now()) {
111 cleanupExpiredEntries(now);
112 return activeRepoJobs.get(repoKey) || null;
113}
114
115function markRepoJobActive(repoKey, runId = null, runUrl = null, now = Date.now()) {
116 activeRepoJobs.set(repoKey, {

Callers 1

handlerFunction · 0.90

Calls 2

cleanupExpiredEntriesFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected