MCPcopy Create free account
hub / github.com/idank/explainshell / _rel

Function _rel

tests/evals/render/render_eval.py:585–586  ·  view source on GitHub ↗
(from_dir: Path, target: Path)

Source from the content-addressed store, hash-verified

583
584
585def _rel(from_dir: Path, target: Path) -> str:
586 return os.path.relpath(target, from_dir).replace(os.sep, "/")
587
588
589def _write_diff_index(

Callers 1

diff_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected