MCPcopy Index your code
hub / github.com/idank/explainshell / _metrics

Function _metrics

tests/evals/render/render_eval.py:187–193  ·  view source on GitHub ↗
(path: str, markdown: str, html: str)

Source from the content-addressed store, hash-verified

185
186
187def _metrics(path: str, markdown: str, html: str) -> dict[str, Any]:
188 return {
189 "path": path,
190 "markdown": _line_metrics(markdown),
191 "filtered": _filtered_metrics(markdown),
192 "html": _html_metrics(html),
193 }
194
195
196def _render_page(mandoc_path: str, manpage: Path) -> RenderedPage:

Callers 1

_render_pageFunction · 0.85

Calls 3

_line_metricsFunction · 0.85
_filtered_metricsFunction · 0.85
_html_metricsFunction · 0.85

Tested by

no test coverage detected