@tauri-store/svelte - v2.1.1
    Preparing search index...

    Variable setStoreCollectionPathConst

    setStoreCollectionPath: (path: string) => Promise<void> = ...

    Sets the directory where the stores are saved. This will move all currently active stores to the new directory.

    Type declaration

      • (path: string): Promise<void>
      • Parameters

        • path: string

        Returns Promise<void>

    import { setStoreCollectionPath } from '@tauri-store/svelte';

    await setStoreCollectionPath('/path/to/new/directory');