MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / _clean_text

Function _clean_text

scripts/docs/generate_rust_library_reference.py:89–90  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

87
88
89def _clean_text(value: str) -> str:
90 return re.sub(r"[ \t\r\f\v]+", " ", _ascii(value)).replace("\n ", "\n").strip()
91
92
93def _clean_code(value: str) -> str:

Callers 5

_inline_markdownFunction · 0.85
_heading_textFunction · 0.85
_code_header_labelFunction · 0.85
_sidebar_titleFunction · 0.85
_descriptionFunction · 0.85

Calls 1

_asciiFunction · 0.85

Tested by

no test coverage detected