From 38f2caaf1b48418b86525fcdaaa05fb6662ac081 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Sun, 10 Aug 2025 00:22:12 -0300 Subject: [PATCH] fix: resolve compilation errors by adding missing imports and fixing type mismatches Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/modes/update.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modes/update.rs b/src/modes/update.rs index 9e7a777..fb9885e 100644 --- a/src/modes/update.rs +++ b/src/modes/update.rs @@ -1,4 +1,4 @@ -use anyhow::Result; +use anyhow::{anyhow, Result}; use std::path::PathBuf; use std::str::FromStr; @@ -100,7 +100,7 @@ pub fn mode_update( debug!("DIGEST: {}", digest_value); // Save digest to meta using the common function - store_item_digest_value(&tx, item.clone(), digest_type, digest_value)?; + store_item_digest_value(&mut tx.into_inner(), item.clone(), digest_type, digest_value)?; } else { debug!( "MAIN: Unable to update digest of item due to missing file {:?}",