summaryrefslogtreecommitdiffstats
path: root/vendor/gix-odb/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-odb/src/lib.rs')
-rw-r--r--vendor/gix-odb/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/gix-odb/src/lib.rs b/vendor/gix-odb/src/lib.rs
index 08b14238c..e0beac548 100644
--- a/vendor/gix-odb/src/lib.rs
+++ b/vendor/gix-odb/src/lib.rs
@@ -52,6 +52,7 @@ pub mod cache;
///
/// It can optionally compress the content, similarly to what would happen when using a [`loose::Store`][crate::loose::Store].
///
+#[derive(Clone)]
pub struct Sink {
compressor: Option<RefCell<deflate::Write<std::io::Sink>>>,
object_hash: gix_hash::Kind,