Expand description
One-time migration of the legacy ~/.ob/ config directory to
~/.oboron/.
Older releases of oboron-cli stored their config at ~/.ob/.
The current tooling uses ~/.oboron/. ensure_config_root_migrated
detects a leftover ~/.ob/ real-directory, renames it to
~/.oboron/, and leaves a ~/.ob → ~/.oboron symlink so any
older binary still installed on the system reads/writes the same
data via the legacy path.
Structs§
- Migration
Notice - Returned by
ensure_config_root_migratedwhen an actual migration took place. Callers print this to stderr so users know their config dir moved.
Functions§
- ensure_
config_ root_ migrated - If
~/.ob/exists as a real directory and~/.oboron/doesn’t, rename it to~/.oboron/and create a~/.ob→~/.oboronsymlink for backward compatibility with older binaries. No-op otherwise (already migrated, fresh install, or~/.obis a symlink we put there ourselves).