From cb5bd26569ba33ea0cf1b696a9f0da42687a9185 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 4 May 2022 21:52:29 +0000 Subject: third_party/cachunker: init This is the BuzHash content-defined chunker extracted from Lennart Poettering's casync, almost verbatim, along with Rust bindings so we can actually use it safely. The bindings are a little bit constrained, since they don't support streaming use, unlike the code they are wrapping. This suffices for our use case: performance and correctness comparison to our native Rust implementation, which should behave identically and perform better. Change-Id: Iee4296f661b036620bafef5a6c6671fe1a750bb6 --- third_party/cachunker/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 third_party/cachunker/.gitignore (limited to 'third_party/cachunker/.gitignore') diff --git a/third_party/cachunker/.gitignore b/third_party/cachunker/.gitignore new file mode 100644 index 0000000..89c4147 --- /dev/null +++ b/third_party/cachunker/.gitignore @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: edef +# SPDX-License-Identifier: LGPL-2.1-or-later + +/target -- cgit 1.4.1