MCPcopy Create free account
hub / github.com/Tele-AI/Fluxon / _html_escape

Function _html_escape

fluxon_test_stack/gitops/gitops_lib.py:899–906  ·  view source on GitHub ↗
(v: str)

Source from the content-addressed store, hash-verified

897 .replace("'", "'")
898 )
899
900 def _read_jsonl_tail(path: Path, *, max_lines: int) -> list[dict]:
901 if not path.exists():
902 return []
903 lines = path.read_text(encoding="utf-8").splitlines()[-max_lines:]
904 out: list[dict] = []
905 for ln in lines:
906 if not ln.strip():
907 continue
908 try:
909 rec = json.loads(ln)

Callers 4

_handle_indexMethod · 0.70
_handle_runMethod · 0.70
_handle_step_logMethod · 0.70
_handle_logMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected