Skip to content

Should readdir return an iterator? #27393

@malmaud

Description

@malmaud

Seems kind of weird that readdir just returns a Vector{String} instead of a lazy generator, since you can always go from the latter to the former. For reference, Python's pathlib.Path.iterdir, the equivalent function, does return a generator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    collectionsData structures holding multiple items, e.g. setsfilesystemUnderlying file system and functions that use it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions