diff --git a/libimagref/src/reference.rs b/libimagref/src/reference.rs index cd3edca7..1d1db29c 100644 --- a/libimagref/src/reference.rs +++ b/libimagref/src/reference.rs @@ -511,6 +511,14 @@ impl<'a> Display for Ref<'a> { } +impl<'a> Into> for Ref<'a> { + + fn into(self) -> FileLockEntry<'a> { + self.0 + } + +} + fn hash_file_contents(f: &mut File) -> String { let mut hasher = Sha1::new(); let mut s = String::new();