Skip to content

Add relative_path() to help with multi-platform relpath computation #3104

@nyurik

Description

@nyurik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions