Skip to main content

migrate

Function migrate 

Source
pub fn migrate(raw: Value) -> Result<StateV2, WorktreeError>
Expand description

Schema migration dispatcher. Upgrades older state files to the current schema version in-place before they are returned to callers.