Skip to content

fs.Dir methods not documented #58671

@jasnell

Description

@jasnell

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