Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

single and double-dot paths #2

Open
ezio416 opened this issue Sep 26, 2022 · 0 comments
Open

single and double-dot paths #2

ezio416 opened this issue Sep 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ezio416
Copy link
Owner

ezio416 commented Sep 26, 2022

  • joinpath()

    • does not work for lone single+double dots
      -> '.' or '..'
      • resolves to current working directory due to splitpath()
      • they do work if at the end of a path string and not alone
        -> 'C:/Users/..' or '/mnt/.'
  • splitpath()

    • does not work for single+double dots anywhere but a single instance at the end
      -> 'C:/Users/../Windows' or '../usr/things' or '/Users/a/b/../..'
@ezio416 ezio416 added the enhancement New feature or request label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant