pub async fn migrate_data_dir(
source_dir: &Path,
destination_dir: &Path,
) -> Result<StoreMigrationReceipt, PortError>Expand description
Migrates source_dir into destination_dir, returning what was moved.
The destination is created with the default engine.
The source is never opened for writing and its bytes are verified unchanged when the migration finishes; the destination must not already hold a store.