-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.
Description
- Version: 10.0.0, master
- Subsystem: fs
Non-promises API has two variants documented: Buffer, string.
Promises API has only Buffer variants documented: method, class method.
This code works, but it's undocumented behavior:
const fs = require('fs/promises');
const fd = await fs.open('temp.txt', 'w+');
fd.write('test\n');
bricss
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.