FileStorageOptions
Defined in: src/storage/file.ts:56
Options for createFileStorage.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
dir |
string |
Base directory under which key files are written. Created on demand. | src/storage/file.ts:58 |
legacy? |
FileLegacyMode |
How to treat leaves in the legacy raw-segment layout. Default "ignore". |
src/storage/file.ts:60 |
onLegacy? |
(dir) => void |
Called once per storage instance when legacy: "warn" meets a legacy leaf. Products pass their own message (it names the product and the release that wrote the legacy layout). |
src/storage/file.ts:65 |