Initializes a new instance of FileSystemStorageAdapter.
Configuration options.
Currently only dir is supported and must be a file system path
to the folder where the data will be stored.
Removes all of the entries from persistent storage.
Checks if the data for the key exists.
true
if data for the key exists, or false otherwise.Retrieves a collection of all of the values in persistent storage.
Retieves the data for the key.
Removes the data for the key.
Promise resolved with true
if data have been removed, or false otherwise.
Saves the data under the key in persistent storage. If the key
already exists, throws StorageEntryAlreadyExistsError.
Sets the new data for the key.
Implementation of IStorageAdapter that uses file system for persistence. For use in Node.js.