]> git.proxmox.com Git - proxmox-backup.git/commit
chunker: add method to reset chunker state
authorChristian Ebner <c.ebner@proxmox.com>
Mon, 13 May 2024 12:37:23 +0000 (14:37 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 5 Jun 2024 14:39:41 +0000 (16:39 +0200)
commit77fdae28cf19c447bf56acb7c161a5e6b4a69d10
tree4457e2d4a086e75bda03dc4edb2984e8a0782ef5
parent717b9b4c889b9f189429989b4f556de86a192484
chunker: add method to reset chunker state

When forcing a boundary, the internal chunker state is not in sync
with the chunk stream anymore. The reset method therefore allows
to reset the internal state.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
pbs-datastore/src/chunker.rs