From 06acb47def80cd05cf559df4c37260bc8649f97a Mon Sep 17 00:00:00 2001 From: Parth Sarthi Mishra Date: Fri, 23 Oct 2026 18:16:10 +0530 Subject: [PATCH] use TryReference instead of copy when exporting received files Closes #120 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a88269e..8175126 100644 --- a/src/main.rs +++ b/src/main.rs @@ -509,7 +509,7 @@ async fn export(db: &Store, collection: Collection, mp: &mut MultiProgress) -> a .export_with_opts(ExportOptions { hash: *hash, target, - mode: ExportMode::Copy, + mode: ExportMode::TryReference, }) .stream() .await;