More variants for archive pb format

This commit is contained in:
Dominik Werder
2021-07-19 22:33:39 +02:00
parent 48e0226a4f
commit d1401bffd5
8 changed files with 227 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
use archapp_xc::RT1;
use archapp_xc::ItemSerBox;
use async_channel::Receiver;
use err::Error;
use futures_core::Stream;
@@ -12,7 +12,7 @@ use std::pin::Pin;
pub fn scan_files(
pairs: BTreeMap<String, String>,
node_config: NodeConfigCached,
) -> Pin<Box<dyn Future<Output = Result<Receiver<Result<RT1, Error>>, Error>> + Send>> {
) -> Pin<Box<dyn Future<Output = Result<Receiver<Result<ItemSerBox, Error>>, Error>> + Send>> {
Box::pin(archapp::parse::scan_files_inner(pairs, node_config))
}