MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / incrementActivity

Function incrementActivity

src/daemon/activity-registry.ts:3–5  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

1const activityCounts = new Map<string, number>();
2
3function incrementActivity(key: string): void {
4 activityCounts.set(key, (activityCounts.get(key) ?? 0) + 1);
5}
6
7function decrementActivity(key: string): void {
8 const current = activityCounts.get(key) ?? 0;

Callers 1

acquireDaemonActivityFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected