MCPcopy Create free account
hub / github.com/IAmUnbounded/devctx / extractIncompleteItems

Function extractIncompleteItems

devctx/src/core/parser.ts:598–605  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

596}
597
598function extractIncompleteItems(content: string): string[] {
599 const items: string[] = [];
600 const matches = content.matchAll(/-\s+\[\s\]\s+(.+)$/gm);
601 for (const m of matches) {
602 items.push(m[1].trim());
603 }
604 return items.slice(0, 8);
605}
606
607function extractCompletedItems(content: string): string[] {
608 const items: string[] = [];

Callers 1

extractFromAntigravityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected