Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

make readFile accept fd #8471

@rlidwka

Description

@rlidwka

We have an fd of the file that's already opened, and need to read the entire file.

I suppose I could just copy fs.readFile and remove fs.open from it, but it'd be nicer if fs.readFile would just accept an fd.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions