Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fs.Dir methods not documented #58671

Copy link
Copy link
@jasnell

Description

@jasnell
Issue body actions

The fs.Dir object that is returned by the fs.opendir APIs includes a couple of methods that are not documented. What is not clear is whether they are meant to be internal only or if they are meant to be public API

  • processReadResult(path, result)
  • readSyncRecursive(dirent)

Likewise, the constructor for the fs.Dir is callable without adequate type checking.

There's no documentation in the code so it would be helpful to get some clarification on what is intended here.

/cc @nodejs/fs @cjihrig @targos @addaleax @mcollina @anonrig

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.