about summary refs log tree commit diff
path: root/tvix/store/src/pathinfoservice
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-05-23T11·50+0300
committerclbot <clbot@tvl.fyi>2023-05-24T16·04+0000
commitad6b6b14db9c5e0a0b025687db5f387a4e6ee6a7 (patch)
treee7d45d1e70d203108ed40bce601b2ab55075599f /tvix/store/src/pathinfoservice
parent5774117d5ea4115a33923640a39a553eb57df59a (diff)
feat(tvix/store/pathinfosvc): derive Clone r/6192
This allows closing a TvixStoreIO if it contains a SledPathInfoService.

Change-Id: Ife451eda331bafdb1af91f45a94cccd13f2f67c6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8620
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/pathinfoservice')
-rw-r--r--tvix/store/src/pathinfoservice/sled.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/store/src/pathinfoservice/sled.rs b/tvix/store/src/pathinfoservice/sled.rs
index bccd6b141315..8776ebcbc106 100644
--- a/tvix/store/src/pathinfoservice/sled.rs
+++ b/tvix/store/src/pathinfoservice/sled.rs
@@ -8,6 +8,7 @@ use tracing::warn;
 ///
 /// The PathInfo messages are stored as encoded protos, and keyed by their output hash,
 /// as that's currently the only request type available.
+#[derive(Clone)]
 pub struct SledPathInfoService {
     db: sled::Db,
 }