write-file-atomic
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "write-file-atomic", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Write files in an atomic fashion w/configurable ownership", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ write-file-atomic | ||
```javascript | ||
fs.writeFile('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) { | ||
writeFileAtomic('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) { | ||
if (err) throw err; | ||
@@ -36,0 +36,0 @@ console.log('It\'s saved!'); |
Sorry, the diff of this file is not supported yet
8644