Skip to content

Implement path:join #1562

@krader1961

Description

@krader1961
Contributor

I was working on adding unit tests for my fix for issue #1385 and realized that the test would benefit from a path:join command to accommodate the fact that on UNIX forward slash is used and on Windows backslash is used to separate path components. I worked around that shortcoming by using the equivalent Go function plus string concatenation to construct the test case. Nonetheless, it should be possible for Elvish programs to construct paths using native conventions for separating path components rather than assuming a forward slash works on every platform.

Activity

added a commit that references this issue on Aug 13, 2022
1638311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @krader1961

      Issue actions

        Implement `path:join` · Issue #1562 · elves/elvish