pub fn needs_migration(snapshot: &WorkspaceSnapshot) -> bool
Check whether a snapshot requires migration.