Skip to content

FileMangager.enumerator(at:) stops enumerating after hitting path with more than 260 characters on Windows #5099

Open
@ahoppen

Description

@ahoppen

When enumerating through a directory using FileManager.enumerator(at:) and one of the paths in that directory exceeds Window’s maximum path length of 260 characters, the enumerator silently stops. I’m not sure what I would expect but I think I would expect it to maybe skip the files that exceed the path length, not to stop enumeration altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions