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

Use current directory's root for Dir.glob("/...") on Windows #13628

Merged

Conversation

HertzDevil
Copy link
Contributor

Dir["/*"] will list the files immediately under C:\ if the current directory's drive is C:, or D:\ if the drive is D:, etc.

@straight-shoota straight-shoota added this to the 1.9.0 milestone Jul 3, 2023
@straight-shoota straight-shoota merged commit 7881486 into crystal-lang:master Jul 5, 2023
52 checks passed
@HertzDevil HertzDevil deleted the bug/windows-glob-root-drive branch July 5, 2023 13:34
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants