MCPcopy Create free account
hub / github.com/block/buzz / isReadFileMetaLine

Function isReadFileMetaLine

desktop/src/features/agents/ui/agentSessionFileRead.ts:144–148  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

142}
143
144function isReadFileMetaLine(line: string) {
145 return /^\[showing lines \d+-\d+ of \d+; use offset=\d+ to continue\]$/.test(
146 line,
147 );
148}
149
150function trimTrailingEmptyLines(lines: string[]) {
151 let end = lines.length;

Callers 1

parseReadFileOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected