minca

Function: directoryStores()

function directoryStores(directory, options?): StoreFactory;

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

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; shared?: boolean; }-
options.localKey?CryptoKey | nullSeals the registry. Without it nothing is sealed.
options.shared?booleanOthers write these stores too, and nothing reloads them: read from the disk each time.

Returns

StoreFactory

On this page