atomic-write
atomic-write copied to clipboard
atomic-write writes over read only files
This is a little odd, although understandable given the implementation.
@jsl It appears as though this comes from the use of renameFile in closeAndRename, which seems like a fairly deliberate use. Do we want to make this API change by checking if a file is read-only, or do we want to keep overwriting all files?