Package: @effect/platform
Module: KeyValueStore
Provides a file-backed key-value store in the specified directory.
Keys are percent-encoded as single file names. Empty keys, . and .. are
rejected. Keys are only guaranteed to be distinct on case-sensitive file
systems.
clear removes the directory recursively, so it must not be shared with
unrelated data.
Signature
declare const layerFileSystem: (directory: string) => Layer.Layer<KeyValueStore, PlatformError.PlatformError, FileSystem.FileSystem | Path.Path>
Since v1.0.0