marker_migration_version

Function marker_migration_version 

Source
fn marker_migration_version(path: &Path) -> u32
Expand description

Read the migration_version: line from an existing marker. Returns 0 when the marker is absent, unreadable, or predates versioning (a legacy stats-only marker has no such line) — so a logic bump, or any pre-versioning marker, re-runs the migration exactly once.