move ChunkStream to pbs-client
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
513d019ac3
commit
38629c3961
@ -6,7 +6,7 @@ use anyhow::{Error};
|
||||
use futures::ready;
|
||||
use futures::stream::{Stream, TryStream};
|
||||
|
||||
use super::Chunker;
|
||||
use pbs_datastore::Chunker;
|
||||
|
||||
/// Split input stream into dynamic sized chunks
|
||||
pub struct ChunkStream<S: Unpin> {
|
@ -44,6 +44,9 @@ pub use backup_repo::*;
|
||||
mod backup_specification;
|
||||
pub use backup_specification::*;
|
||||
|
||||
mod chunk_stream;
|
||||
pub use chunk_stream::{ChunkStream, FixedChunkStream};
|
||||
|
||||
pub const PROXMOX_BACKUP_TCP_KEEPALIVE_TIME: u32 = 120;
|
||||
|
||||
/// Connect to localhost:8007 as root@pam
|
||||
|
@ -71,9 +71,6 @@ pub use pbs_datastore::fixed_index::*;
|
||||
|
||||
pub use pbs_datastore::read_chunk::*;
|
||||
|
||||
mod chunk_stream;
|
||||
pub use chunk_stream::*;
|
||||
|
||||
// Split
|
||||
mod read_chunk;
|
||||
pub use read_chunk::*;
|
||||
|
@ -38,6 +38,8 @@ use pbs_client::{
|
||||
BackupSpecificationType,
|
||||
BackupStats,
|
||||
BackupWriter,
|
||||
ChunkStream,
|
||||
FixedChunkStream,
|
||||
HttpClient,
|
||||
PxarBackupStream,
|
||||
RemoteChunkReader,
|
||||
@ -75,8 +77,6 @@ use pbs_tools::tokio::TokioWriterAdapter;
|
||||
|
||||
use proxmox_backup::backup::{
|
||||
BufferedDynamicReader,
|
||||
ChunkStream,
|
||||
FixedChunkStream,
|
||||
};
|
||||
use proxmox_backup::tools;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user