diff --git a/libimagref/src/lister.rs b/libimagref/src/lister.rs index 326a764f..f85e41c9 100644 --- a/libimagref/src/lister.rs +++ b/libimagref/src/lister.rs @@ -82,20 +82,6 @@ impl Default for RefLister { } } -fn list_fn(e: &Entry) -> String { - let stored_hash = match e.get_header().read("ref.content_hash") { - Ok(Some(Value::String(s))) => s.clone(), - _ => String::from(""), - }; - - let filepath = match e.get_header().read("ref.path") { - Ok(Some(Value::String(ref s))) => s.clone(), - _ => String::from(""), - }; - - format!("Ref({} -> {})", stored_hash, filepath) -} - impl Lister for RefLister { fn list<'b, I: Iterator>>(&self, entries: I) -> Result<()> {