Gabriella439 / Gabriella439/turtle

`mkdir` will fail on Windows if the filename contains a colon

Open
#256 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
978
Forks
94
PR merge metrics
No merged PRs in 30d

Description

When executing `mkdir "foo: bar` `Filesystem.createDirectory` will fail:

*** Exception: CreateDirectory "F:\\": does not exist (The system cannot find the path specified.)

Now, this is an issue with `Filesystem` but since[ it is deprecated](https://github.com/Gabriel439/Haskell-Turtle-Library/issues/254) I don't think this will be fixed. I don't know what's the best course of action here.

Related https://github.com/Gabriel439/Haskell-Turtle-Library/issues/254

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Filesystem.createDirectory and reproduce the Windows failure described for a filename containing a colon. Read the related issue 254 to understand the deprecation status; done requires an agreed resolution for this deprecated Filesystem behavior, not merely a local workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.