MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / isFresh

Function isFresh

src/bot/chunk.ts:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 const reopenPrefix = () => '```' + fenceInfo + '\n';
37 const isFresh = () => disp.length === (fenceOpen ? reopenPrefix().length : 0);
38 const cut = () => {
39 pieces.push({ display: fenceOpen ? disp + CLOSE : disp, consumed });
40 disp = fenceOpen ? reopenPrefix() : '';

Callers 1

splitForStreamFunction · 0.85

Calls 1

reopenPrefixFunction · 0.85

Tested by

no test coverage detected