MCPcopy
hub / github.com/Fission-AI/OpenSpec / formatTaskStatus

Function formatTaskStatus

src/utils/task-progress.ts:37–41  ·  view source on GitHub ↗
(progress: TaskProgress)

Source from the content-addressed store, hash-verified

35}
36
37export function formatTaskStatus(progress: TaskProgress): string {
38 if (progress.total === 0) return 'No tasks';
39 if (progress.completed === progress.total) return '✓ Complete';
40 return `${progress.completed}/${progress.total} tasks`;
41}
42
43

Callers 3

executeMethod · 0.85
runMethod · 0.85
selectChangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected