Skip to main content

migrate_legacy

Function migrate_legacy 

Source
pub fn migrate_legacy()
Expand description

Migrate from ~/.cove/ to XDG_STATE_HOME/cove/ if needed.

Runs once — if the new path already exists, this is a no-op. Moves the directory (rename is atomic on the same filesystem). If rename fails (cross-device), falls back to keeping legacy path.