Add `relative_path()` to help with multi-platform relpath computation
Open
- Dominant language
- Rust
- Stars
- 35.8k
- Forks
- 846
- Avg merge
- 27m
- Merged PRs (30d)
- 3
Description
At first I was using relpath bash util in all the scripts, until I learnt that it totally breaks on MacOS which even forces bash to be ran as zsh. It would be very helpful to have an OS-agnostic way to compute a relative path between two paths, i.e. similar to [`strip_prefix`](https://doc.rust-lang.org/std/path/struct.Path.html#method.strip_prefix)
Contributor guide
Assessment
This issue has not been assessed yet.