Skip to content

Path::expand() doesn't correctly expand some paths #7

@liuxy600

Description

@liuxy600

Hello,

Path::expand() doesn't expand .foo, the return value is .foo and it should be /cwd/.foo.

When tilde ~ appears in the middle of the path, it's also expanded as the user's home dir.

I am not sure if it was designed to be able to expand paths like . and ./ because these two paths are not expanded too.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions