Skip to content

Link::existsSync() fails on windows when symlink to a folder exists, but with different case. #57016

@sohrab-ikran

Description

@sohrab-ikran

Link::existsSync() fails on windows when symlink to a folder exists, but with different case.

For example, the Link object is created with path A:\b\Hello. But the symlink to the folder already exists as A:\b\hello.

  • Dart version and tooling diagnostic info (dart info)
    dart info

General info

  • Dart 3.5.3 (stable) (Wed Sep 11 16:22:47 2024 +0000) on "windows_x64"
  • on windows / "Windows 10 Pro" 10.0 (Build 22631)
  • locale is en-IN

Process info

Memory CPU Elapsed time Command line
14 MB -- dart.exe
437 MB -- dart.exe
14 MB -- dart.exe
154 MB -- dart.exe
93 MB -- dart.exe
  • Whether you are using Windows, macOS, or Linux (if applicable)
    Windows
  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
    Not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iotriagedIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions