MCPcopy Create free account
hub / github.com/cdgriffith/Box / _text_to_lines

Function _text_to_lines

box/comments.py:51–52  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

49
50
51def _text_to_lines(text: str) -> list[str]:
52 return [line[1:].lstrip() if line.strip().startswith("#") else line for line in _LINE_BREAKS.split(text)]
53
54
55def normalize(position: Any, text: Any, document: bool = False) -> Any:

Callers 1

normalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected