Skip to content

[v18.x backport] fs: introduce `dirent.parentPath`

The goal is to replace dirent.path using a name that's less likely to create confusion. dirent.path value has not been stable, moving it to a different property name should avoid breaking some upgrading user expectations.

PR-URL: https://github.com/nodejs/node/pull/50976 Reviewed-By: Ethan Arrowood ethan@arrowood.dev Reviewed-By: LiviaMedeiros livia@cirno.name

Merge request reports

Loading