MCPcopy Index your code
hub / github.com/21st-dev/1code / setStatus

Method setStatus

src/main/lib/git/cache/git-cache.ts:269–272  ·  view source on GitHub ↗
(worktreePath: string, status: T)

Source from the content-addressed store, hash-verified

267 }
268
269 setStatus<T>(worktreePath: string, status: T): void {
270 const hash = computeContentHash(JSON.stringify(status));
271 this.statusCache.set(worktreePath, status, hash);
272 }
273
274 invalidateStatus(worktreePath: string): void {
275 this.statusCache.delete(worktreePath);

Callers 4

processQueueFunction · 0.80
checkAllQueuesFunction · 0.80
ChatViewFunction · 0.80
createStatusRouterFunction · 0.80

Calls 2

computeContentHashFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected