diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-04T19·23+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-05-04T21·27+0000 |
commit | ba00f0c6955fcd505cfa7ef06dc35b53ac14868a (patch) | |
tree | c695c21ee57bc51926fc24daf1ddba5dc8ca0796 /tvix/castore/src/import/archive.rs | |
parent | f2f12d15568b068b7b38473c03b74275a7f43cee (diff) |
refactor(tvix/*store): use DS: DirectoryService r/8073
We implement DirectoryService for Arc<DirectoryService> and Box<DirectoryService>, this is sufficient. Change-Id: I0a5a81cbc4782764406b5bca57f908ace6090737 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11586 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/castore/src/import/archive.rs')
-rw-r--r-- | tvix/castore/src/import/archive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/import/archive.rs b/tvix/castore/src/import/archive.rs index fb8ef9a50b48..0d21481d40e7 100644 --- a/tvix/castore/src/import/archive.rs +++ b/tvix/castore/src/import/archive.rs @@ -84,7 +84,7 @@ pub async fn ingest_archive<BS, DS, R>( ) -> Result<Node, IngestionError<Error>> where BS: BlobService + Clone + 'static, - DS: AsRef<dyn DirectoryService>, + DS: DirectoryService, R: AsyncRead + Unpin, { // Since tarballs can have entries in any arbitrary order, we need to |