MCPcopy
hub / github.com/Gracker/awesome-android-ai-dev-sources / safe

Function safe

process_candidates.py:425–427  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

423
424
425def safe(value: Any) -> str:
426 text = str(value or "").replace("\n", " ").strip()
427 return text.replace("|", "\\|")
428
429
430def link_markdown(links: dict[str, str]) -> str:

Callers 2

link_markdownFunction · 0.85
generate_readmeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected