Function migrate
fn migrate(path: &Path, session: &InMemory) -> Result<()>Available on crate feature
tokio only.Expand description
Replaces the journal at path with a snapshot of session in the current
format. Appends need the current format.