MCPcopy
hub / github.com/HisMax/RedInk / _first_meaningful_line

Function _first_meaningful_line

backend/errors.py:366–371  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

364
365
366def _first_meaningful_line(value: str) -> str:
367 for line in value.splitlines():
368 stripped = line.strip(" \t\r\n-")
369 if stripped:
370 return stripped
371 return ""
372
373
374def _summarize_raw(value: str, limit: int) -> str:

Callers 3

classify_errorFunction · 0.85
_summarize_htmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected