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

Function isMultiline

src/context/approach-diff.ts:76–76  ·  view source on GitHub ↗
(t: string)

Source from the content-addressed store, hash-verified

74}
75
76const isMultiline = (t: string): boolean => t.split('\n').filter(l => l.trim()).length >= 3;
77
78function head(text: string, max = 160): string {
79 return text.replace(/\s+/g, ' ').trim().slice(0, max);

Callers 1

renderApproachDiffsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected