Skip to content

Function: createLocalFsPersistenceService() ​

ts
function createLocalFsPersistenceService(config): object;

Defined in: application/services/persistence/local-fs-persistence-provider.ts:368

Creates a local file system provider together with a getError function that reports when the provider is disabled or the browser lacks showDirectoryPicker.

Parameters ​

ParameterType
configLocalFsPersistenceConfig

Returns ​

object

getError ​

ts
getError: () => string;

Returns ​

string

provider ​

ts
provider: WorkspacePersistenceProvider;