MCPcopy
hub / github.com/thesysdev/openui / set

Function set

packages/lang-core/src/parser/parser.ts:617–624  ·  view source on GitHub ↗
(fullText)

Source from the content-addressed store, hash-verified

615 return currentResult();
616 },
617 set(fullText) {
618 if (fullText.length < buf.length || !fullText.startsWith(buf)) {
619 reset();
620 }
621 const delta = fullText.slice(buf.length);
622 if (delta) buf += delta;
623 return currentResult();
624 },
625 getResult: currentResult,
626 };
627}

Callers 6

createShellStoreFunction · 0.50
createChatStoreFunction · 0.50
setPendingFunction · 0.50
createThreadContextStoreFunction · 0.50
createDetailedViewStoreFunction · 0.50

Calls 2

resetFunction · 0.85
currentResultFunction · 0.85

Tested by

no test coverage detected