file Key-Value Store driver

The file driver uses the filesystem as a key-value store directly. A key directly specifies a path under a given root directory; the value is stored as the file contents.

Locking provided by the filesystem is used to safely allow concurrent access from multiple processes. (The locking protocol used does not block readers.) Provided that shared locking is supported, concurrent access from multiple machines to a network filesystem is also safe.

file Key-Value Store JSON Schema

object with members:

driver
Required
“file”
context

Specifies context resources that augment/override the parent context.

path
Required
string
Path to root directory on local filesystem.
file_io_concurrency

Specifies or references a previously defined file_io_concurrency context resource.

Limitations

Note

This driver is only supported on Windows 10 RS1 or later, due to its reliance on file operations with POSIX semantics.