identify files manually by magic numbers

This commit is contained in:
🪞👃🪞 2025-03-11 14:59:11 +02:00
parent 5d7c2054b3
commit 928d38bfaa
5 changed files with 154 additions and 99 deletions

View file

@ -27,7 +27,11 @@ pub(crate) const PAGE_SIZE: usize = 10;
fn cli () -> clap::Command {
command!()
.arg(arg!([path] "Path to root directory").value_parser(value_parser!(PathBuf)))
.arg(arg!([path] "Path to root directory")
.value_parser(value_parser!(PathBuf)))
//.arg(arg!(-j --threads <N> "Number of indexing threads")
//.required(false)
//.value_parser(value_parser!(usize)))
}
fn main () -> Usually<()> {