fetch: add Handle::into_inner

Adds an `into_inner` method to deconstruct the `Handle` back into the underlying
repository type.
This commit is contained in:
Lorenz Leutgeb
2025-10-06 11:52:42 +02:00
parent e40fe86ff8
commit 31a7d3bd3f
+4
View File
@@ -46,6 +46,10 @@ impl<R, S> Handle<R, S> {
pub fn allowed(&self) -> Allowed {
self.allowed.clone()
}
pub fn into_inner(self) -> R {
self.repo
}
}
impl<R, S> Handle<R, S>