minca
ApiCoreFunctions

Function: directoryStores()

function directoryStores(directory, options?): StoreFactory;

Defined in: packages/core/src/node/stores.ts:41

Stores in a directory on this device, one file per entry and per version. A data folder others share is folderStores.

Parameters

ParameterTypeDescription
directoryDirectoryHandleLike-
options?{ localKey?: CryptoKey | null; }-
options.localKey?CryptoKey | nullSeals the registry. Without it nothing is sealed.

Returns

StoreFactory

On this page