-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
Rename InternalModuleReadFile and friends. #17076
Copy link
Copy link
Closed
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.moduleIssues and PRs related to the module subsystem.Issues and PRs related to the module subsystem.
Type
Fields
Give feedbackNo fields configured for issues without a type.
With the addition of PR #15767 the internal
InternalModuleReadFileand pseudo exposedprocess.binding("fs").internalModuleReadFileare no longer generic read file helpers and are essentially locked down to justjson.InternalModuleReadFilewas more generically useful before and could have been applied to loading more than justjson.I think the name
InternalModuleReadFile, and the pseudo exposedprocess.binding("fs").internalModuleReadFile, should either be renamed or a new internal forjson-only should be created (maybe that wrapsInternalModuleReadFile).