pub fn retarget_artifact_root(
db_path: &Path,
new_root: &Path,
) -> Result<(), DbError>Expand description
Retargets the root_path key in artifact_metadata to a new workspace canonical root.
This is essential when cloning or copying an artifact database (e.g. into a git worktree),
ensuring julie-extract update, delete, and scan recognize the new root without root mismatch errors.