Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs/README.md

Issue 800513006: Added vulcanize under third_party/npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs/README.md
diff --git a/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/README.md b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs/README.md
similarity index 80%
copy from node_modules/mocha/node_modules/glob/node_modules/graceful-fs/README.md
copy to node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs/README.md
index eb1a10935683bde4a8df194ad079659ed3861b33..13a2e86050a3ebc55b921094f311bf7f302a3796 100644
--- a/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/README.md
+++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/graceful-fs/README.md
@@ -7,7 +7,7 @@ The improvements are meant to normalize behavior across different
platforms and environments, and to make filesystem access more
resilient to errors.
-## Improvements over fs module
+## Improvements over [fs module](http://api.nodejs.org/fs.html)
graceful-fs:
@@ -24,3 +24,13 @@ graceful-fs:
On Windows, it retries renaming a file for up to one second if `EACCESS`
or `EPERM` error occurs, likely because antivirus software has locked
the directory.
+
+## USAGE
+
+```javascript
+// use just like fs
+var fs = require('graceful-fs')
+
+// now go and do stuff with it...
+fs.readFileSync('some-file-or-whatever')
+```

Powered by Google App Engine
This is Rietveld 408576698