Documentation
¶
Overview ¶
Package migratesvc moves a legacy home (~/.config/sshmgr from before the rename, or the older ~/.sshmgr) to the OS-standard home, ported from facade.migrate_home. It is the guided path for when both already exist (auto-migration can't handle that); doctor flags such a stranded legacy home.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result is the outcome of a migrate run.
func Migrate ¶
Migrate moves the legacy home into the standard home. If the standard home is absent, the legacy is moved in. If both exist, it refuses unless force - with force the current home is backed up aside (using stamp) and replaced with the legacy one. Mirrors facade.migrate_home (sans the advisory lock).