-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
More detailed fs documentation #4352
Copy link
Copy link
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
The
fsdocs provide a great overview of the API, but information on their low-level operations is pretty sparse.For example, I can't tell how two competing
fs.writeFileSynccalls from different processes will interact. Will an error be thrown by whichever process loses the race for the lock? Will the second process just wait for the lock and then overwrite the previous contents?For reference, here are two issues would have benefited from these sorts of details: