Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.
This repository was archived by the owner on May 4, 2018. It is now read-only.

streaming readdir() #931

Closed
Closed
@olsonjeffery

Description

@olsonjeffery

The current uv_fs_readdir API returns all entries in a directory, at once, in a char* ptr field on uv_fs_t. This is problematic in the case of a directory with lots of files allocating a large amount of memory on every request as well as for perf.

We (for rust, but others as well I'm sure) would like some kind of streaming/paging approach to directory listing.

I have no idea what this API would look like. Thoughts?

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