]> git.proxmox.com Git - proxmox-backup.git/commit - src/server/pull.rs
pull: refactor pulling from a datastore
authorHannes Laimer <h.laimer@proxmox.com>
Tue, 21 Nov 2023 14:31:51 +0000 (15:31 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 25 Nov 2023 16:07:42 +0000 (17:07 +0100)
commit05a52d010663c16abb4726f63e7073fe697cad97
tree9c4660f9b49e9ba827ce9db23d73ca7691a2ea36
parent09683f12905260c72b1ef912dc4252e9e8d85b0d
pull: refactor pulling from a datastore

... making the pull logic independent from the actual source
using two traits.

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Tested-by: Gabriel Goller <g.goller@proxmox.com>
Cargo.toml
pbs-datastore/src/read_chunk.rs
src/api2/config/remote.rs
src/api2/pull.rs
src/server/pull.rs