feat(list): add allow and blocklist handling

This uses the .gitignore format to identify
which files should be allowed / blocked.

The allowlist gets precedence over the blocklist
if both are specified.
This commit is contained in:
Matteo Settenvini 2025-01-26 14:53:39 +01:00
parent 54075012aa
commit 344e16cf0f
Signed by: matteo
GPG key ID: 1C1B12600D81DE05
7 changed files with 188 additions and 9 deletions

View file

@ -14,6 +14,7 @@ anyhow = { version = "1.0" }
async-trait = { version = "0.1" }
clap = { version = "4.5", features = ["derive"] }
env_logger = { version = "0.11" }
ignore = { version = "0.4" }
goblin = { version = "0.9" }
log = { version = "0.4" }
memmap2 = { version = "0.9" }