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

Function room

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

Source from the content-addressed store, hash-verified

46 const isFenceLine = FENCE.test(line);
47 const willBeOpen = isFenceLine ? !fenceOpen : fenceOpen;
48 const room = () => maxLen - (willBeOpen ? CLOSE.length : 0) - disp.length;
49
50 while (line.length > room()) {
51 if (!isFresh()) { cut(); continue; } // flush current piece, retry on a clean one

Callers 1

splitForStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected