Skip to main content

migrate_legacy_metrics_dir

Function migrate_legacy_metrics_dir 

Source
pub fn migrate_legacy_metrics_dir() -> Result<()>
Expand description

Migrate legacy metrics directory from code-analyze-mcp to aptu-coder.

  • If the old directory exists and the new one does not, rename it and log info.
  • If both exist, log a warning and do nothing.
  • If neither exists, do nothing.

Returns Ok(()) on success, propagating any I/O errors.