[doc] The store for File is empty if non-existent

This commit is contained in:
Tommy Stanton 2014-01-16 14:05:05 -08:00
parent 022b9bc507
commit 3a7b788e35

View file

@ -220,6 +220,8 @@ Based on the Memory store, but provides additional methods `.save()` and `.load(
The file store is also extensible for multiple file formats, defaulting to `JSON`. To use a custom format, simply pass a format object to the `.use()` method. This object must have `.parse()` and `.stringify()` methods just like the native `JSON` object. The file store is also extensible for multiple file formats, defaulting to `JSON`. To use a custom format, simply pass a format object to the `.use()` method. This object must have `.parse()` and `.stringify()` methods just like the native `JSON` object.
If the file does not exist at the provided path, the store will simply be empty.
### Redis ### Redis
There is a separate Redis-based store available through [nconf-redis][0]. To install and use this store simply: There is a separate Redis-based store available through [nconf-redis][0]. To install and use this store simply: