Skip to content

More detailed fs documentation  #4352

@jamestalmage

Description

@jamestalmage

The fs docs 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.writeFileSync calls 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions