Skip to content

fs::mkdir returns OtherIoError instead of PathAlreadyExists #17287

Closed
@retep998

Description

@retep998

When creating a directory on windows using fs::mkdir, if the directory already exists it returns an error where kind is OtherIoError instead of PathAlreadyExists as I would expect.

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