diff options
Diffstat (limited to 'node_modules/write-file-atomic/README.md')
-rw-r--r-- | node_modules/write-file-atomic/README.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/write-file-atomic/README.md b/node_modules/write-file-atomic/README.md index a9d3461db..63f00420c 100644 --- a/node_modules/write-file-atomic/README.md +++ b/node_modules/write-file-atomic/README.md @@ -13,6 +13,7 @@ atomic and allows you set ownership (uid/gid of the file). * uid **Number** * gid **Number** * encoding **String** | **Null** default = 'utf8' + * fsync **Boolean** default = true * mode **Number** default = 438 (aka 0666 in Octal) callback **Function** @@ -30,6 +31,8 @@ you'll get an error. The **encoding** option is ignored if **data** is a buffer. It defaults to 'utf8'. +If the **fsync** option is **false**, writeFile will skip the final fsync call. + Example: ```javascript |