Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
585
def
_rel(from_dir: Path, target: Path) -> str:
586
return
os.path.relpath(target, from_dir).replace(os.sep,
"/"
)
587
588
589
def
_write_diff_index(
Callers
1
diff_report
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected