mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
identify files manually by magic numbers
This commit is contained in:
parent
5d7c2054b3
commit
928d38bfaa
5 changed files with 154 additions and 99 deletions
|
|
@ -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<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue