MCPcopy
hub / github.com/21st-dev/1code / getStatus

Method getStatus

src/main/lib/git/cache/git-cache.ts:265–267  ·  view source on GitHub ↗
(worktreePath: string)

Source from the content-addressed store, hash-verified

263
264 // Status cache methods
265 getStatus<T>(worktreePath: string): T | null {
266 return this.statusCache.get(worktreePath) as T | null;
267 }
268
269 setStatus<T>(worktreePath: string, status: T): void {
270 const hash = computeContentHash(JSON.stringify(status));

Callers 3

processQueueFunction · 0.80
checkAllQueuesFunction · 0.80
createStatusRouterFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected