Skip to content

Commit b2d5fc4

Browse files
Implementaion for /etc merge
Signed-off-by: Johan-Liebert1 <[email protected]> etc-merge: Incremental hash computation + test verity Test for whether the file has fs-verity enabled or not, and if it does we simply check the verity. Incrementally compute hash for files rather than reading the entire file in memory. Signed-off-by: Johan-Liebert1 <[email protected]> etc-merge: Use generic-tree from composefs-rs Signed-off-by: Johan-Liebert1 <[email protected]> Get removed files by traversing Signed-off-by: Johan-Liebert1 <[email protected]>
1 parent a48dad7 commit b2d5fc4

File tree

3 files changed

+481
-0
lines changed

3 files changed

+481
-0
lines changed

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/etc-merge/Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "etc-merge"
3+
version = "0.1.0"
4+
edition = "2024"
5+
6+
[dependencies]
7+
anyhow = { workspace = true }
8+
cap-std-ext = { workspace = true }
9+
rustix = { workspace = true }
10+
openssl = { workspace = true }
11+
hex = { workspace = true }
12+
tracing = { workspace = true }
13+
composefs = { workspace = true }
14+
15+
[lints]
16+
workspace = true

0 commit comments

Comments
 (0)